File tree 3 files changed +19
-17
lines changed
3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 1
1
/. *
2
2
! /.gitignore
3
+ ! /.travis.yml
3
4
/bower_components /
4
5
/node_modules /
5
6
/output /
6
- /tmp /
Original file line number Diff line number Diff line change 1
1
language : node_js
2
- sudo : false
3
- node_js :
4
- - 4.1
5
- env :
6
- - PATH=$HOME/purescript:$PATH
2
+ dist : trusty
3
+ sudo : required
4
+ node_js : 6
7
5
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
12
6
- npm install -g bower
13
7
- npm install
8
+ - bower install
14
9
script :
15
- - npm run build
10
+ - npm run -s build
11
+ after_success :
12
+ - >-
13
+ test $TRAVIS_TAG &&
14
+ echo $GITHUB_TOKEN | pulp login &&
15
+ echo y | pulp publish --no-push
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
- "devDependencies" : {
4
- "pulp" : " ^9.0.0" ,
5
- "rimraf" : " ^2.4.1"
6
- },
7
3
"scripts" : {
8
- "postinstall" : " bower install" ,
9
- "build" : " pulp build && pulp test && rimraf docs && pulp docs"
4
+ "clean" : " rimraf output && rimraf .pulp-cache" ,
5
+ "build" : " pulp build --censor-lib --strict"
6
+ },
7
+ "devDependencies" : {
8
+ "pulp" : " ^9.0.1" ,
9
+ "purescript-psa" : " ^0.3.9" ,
10
+ "purescript" : " ^0.10.1" ,
11
+ "rimraf" : " ^2.5.4"
10
12
}
11
13
}
You can’t perform that action at this time.
0 commit comments