Skip to content

Commit 5e3cf42

Browse files
committed
Use trusty build
1 parent f049988 commit 5e3cf42

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.*
22
!/.gitignore
33
!/.travis.yml
4-
/output/
5-
/node_modules/
64
/bower_components/
5+
/node_modules/
6+
/output/

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
language: node_js
2-
sudo: false
3-
node_js: 5
2+
dist: trusty
3+
sudo: required
4+
node_js: 6
45
install:
6+
- npm install -g bower
57
- npm install
6-
- npm install bower -g
7-
- bower install
88
script:
9-
- npm test
9+
- bower install --production
10+
- npm run -s build
11+
- bower install
12+
- npm -s test
1013
after_success:
1114
- >-
1215
test $TRAVIS_TAG &&
13-
node_modules/.bin/psc-publish > .pursuit.json &&
14-
curl -X POST http://pursuit.purescript.org/packages \
15-
-d @.pursuit.json \
16-
-H 'Accept: application/json' \
17-
-H "Authorization: token ${GITHUB_TOKEN}"
16+
echo $GITHUB_TOKEN | pulp login &&
17+
echo y | pulp publish --no-push

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "pulp build",
5+
"build": "pulp build --censor-lib --strict",
66
"test": "pulp test"
77
},
88
"devDependencies": {
9-
"purescript": "^0.9.1-rc.1",
109
"pulp": "^9.0.0",
11-
"rimraf": "^2.5.2"
10+
"purescript-psa": "^0.3.9",
11+
"purescript": "^0.9.1",
12+
"rimraf": "^2.5.0"
1213
}
1314
}

0 commit comments

Comments
 (0)