Skip to content

Commit 248d251

Browse files
Update Travis file and npm dev dependencies (#189)
* Update Travis file and npm dev dependencies * Update gitignore and remove lockfile
1 parent ff768a9 commit 248d251

File tree

3 files changed

+34
-17
lines changed

3 files changed

+34
-17
lines changed

.gitignore

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
/.*
22
!/.gitignore
3-
!/.jshintrc
4-
!/.jscsrc
3+
!/.github
54
!/.travis.yml
6-
/bower_components/
7-
/node_modules/
8-
/output/
5+
6+
# Dependencies
7+
bower_components
8+
node_modules
9+
10+
# Generated files
11+
output
12+
dce-output
13+
generated-docs
14+
15+
# Lockfiles
916
package-lock.json
17+
*.lock
18+
19+
# Extra files
20+
!/.jshintrc
21+
!/.jscsrc

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js: 6
4+
node_js: stable
5+
env:
6+
- PATH=$HOME/purescript:$PATH
57
install:
8+
- TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
9+
- curl --location --output $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
612
- npm install -g bower
713
- npm install
8-
script:
914
- bower install --production
15+
script:
1016
- npm run -s build
1117
- bower install
12-
- npm -s test
18+
- npm run -s test
1319
after_success:
14-
- >-
15-
test $TRAVIS_TAG &&
16-
echo $GITHUB_TOKEN | pulp login &&
17-
echo y | pulp publish --no-push
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
},
88
"devDependencies": {
99
"jscs": "^3.0.7",
10-
"jshint": "^2.9.5",
11-
"pulp": "^12.2.0",
12-
"purescript-psa": "^0.6.0",
13-
"purescript": "slamdata/node-purescript#0.12",
14-
"rimraf": "^2.6.2"
10+
"jshint": "^2.11.0",
11+
"pulp": "^14.0.0",
12+
"purescript-psa": "^0.7.3",
13+
"rimraf": "^3.0.2"
1514
},
1615
"jscsConfig": {
1716
"validateIndentation": false

0 commit comments

Comments
 (0)