-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (30 loc) · 985 Bytes
/
.travis.yml
File metadata and controls
35 lines (30 loc) · 985 Bytes
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
32
33
34
35
language: node_js
sudo: false
node_js:
- "11"
env:
matrix:
- PATH=$HOME:$HOME/purescript:$PATH
install:
- PURS_VER=v0.13.8
- SPAGO_VER=0.15.3
- PULP_VER=15.0.0
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$PURS_VER/linux64.tar.gz
- wget -O $HOME/spago.tar.gz https://github.com/purescript/spago/releases/download/$SPAGO_VER/linux.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- tar -xvf $HOME/spago.tar.gz -C $HOME/
- chmod a+x $HOME/purescript/purs
- chmod a+x $HOME/spago
- npm install -g bower@^1.8.8 pulp@^$PULP_VER
- spago install
- bower install
script:
- export VERSION=branch-job-$TRAVIS_JOB_NUMBER
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then export VERSION=pull-request-job-$TRAVIS_JOB_NUMBER;
fi
- if [[ "$TRAVIS_TAG" != "" ]]; then export VERSION=$TRAVIS_TAG; fi
- spago build
- spago test
- make examples docs-examples
- rm -rf .spago output
- pulp build