File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 6
6
/.psc *
7
7
/.purs *
8
8
/.psa *
9
+ package-lock.json
Original file line number Diff line number Diff line change @@ -2,9 +2,22 @@ language: node_js
2
2
dist : trusty
3
3
sudo : required
4
4
node_js : stable
5
+ env :
6
+ - PATH=$HOME/purescript:$PATH
5
7
install :
8
+ - TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9
+ - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10
+ - tar -xvf $HOME/purescript.tar.gz -C $HOME/
11
+ - chmod a+x $HOME/purescript
6
12
- npm install -g bower
7
13
- npm install
8
- - bower install
14
+ - bower install --production
9
15
script :
10
16
- npm run -s build
17
+ - bower install
18
+ - npm run -s test
19
+ after_success :
20
+ - >-
21
+ test $TRAVIS_TAG &&
22
+ echo $GITHUB_TOKEN | pulp login &&
23
+ echo y | pulp publish --no-push
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"clean" : " rimraf output && rimraf .pulp-cache" ,
5
- "build" : " pulp build -- --censor-lib --strict"
5
+ "build" : " pulp build -- --censor-lib --strict" ,
6
+ "test" : " pulp test"
6
7
},
7
8
"devDependencies" : {
8
9
"pulp" : " ^12.2.0" ,
You can’t perform that action at this time.
0 commit comments