aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 98a00fc..8b7284d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,8 +18,7 @@ jobs:
18 - staging 18 - staging
19 overwrite: true 19 overwrite: true
20 skip_cleanup: true 20 skip_cleanup: true
21 file: 21 file: ldgallery-linux-amd64.tar.gz
22 - viewer.tar.gz
23 22
24 cache: 23 cache:
25 directories: 24 directories:
@@ -42,12 +41,13 @@ jobs:
42 - cd .. 41 - cd ..
43 42
44 script: 43 script:
44 - mkdir dist
45 - cd viewer 45 - cd viewer
46 - npm run lint 46 - npm run lint
47 - npm run build 47 - npm run build -- --dest ../dist/viewer
48 - cd .. 48 - cd ..
49 - tar -czvf viewer.tar.gz viewer/dist
50 - cp -r viewer/dist compiler/data/viewer
51 - cd compiler 49 - cd compiler
52 - stack build --no-terminal 50 - stack build --no-terminal
51 - stack install --local-bin-path ../dist/
53 - cd .. 52 - cd ..
53 - tar -cvzf ldgallery-linux-amd64.tar.gz dist