aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorpacien2020-02-25 22:23:49 +0100
committerNotkea2020-02-27 19:34:05 +0100
commit8a27ab906b92b679dce15bd6c34a7058118d5c30 (patch)
tree6ed78298cea902379867095399dc8a538f2a598b /.travis.yml
parentb468dcbf3343ea251703078ec89d3215116fc2f6 (diff)
downloadldgallery-8a27ab906b92b679dce15bd6c34a7058118d5c30.tar.gz
ci: generate linux amd64 pre-built archive
GitHub: closes #154
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