diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e9f8948 --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,31 @@ | |||
1 | language: generic | ||
2 | |||
3 | jobs: | ||
4 | include: | ||
5 | - name: viewer | ||
6 | language: node_js | ||
7 | node_js: 12 | ||
8 | cache: | ||
9 | directories: | ||
10 | - viewer/node_modules | ||
11 | install: | ||
12 | - cd viewer | ||
13 | - npm install | ||
14 | script: | ||
15 | - npm run lint | ||
16 | - npm run build | ||
17 | |||
18 | - name: compiler | ||
19 | language: haskell | ||
20 | cache: | ||
21 | directories: | ||
22 | - $HOME/.stack | ||
23 | before_install: | ||
24 | - mkdir -p ~/.local/bin | ||
25 | - export PATH=$HOME/.local/bin:$PATH | ||
26 | - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' | ||
27 | install: | ||
28 | - cd compiler | ||
29 | - stack setup --no-terminal | ||
30 | script: | ||
31 | - stack build --no-terminal | ||