aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: e9f894838ecd283dae8fd4f641d297cb59819ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: generic

jobs:
  include:
  - name: viewer
    language: node_js
    node_js: 12
    cache:
      directories:
      - viewer/node_modules
    install:
    - cd viewer
    - npm install
    script:
    - npm run lint
    - npm run build

  - name: compiler
    language: haskell
    cache:
      directories:
      - $HOME/.stack
    before_install:
    - mkdir -p ~/.local/bin
    - export PATH=$HOME/.local/bin:$PATH
    - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
    install:
    - cd compiler
    - stack setup --no-terminal
    script:
    - stack build --no-terminal