Skip to content

Commit c6bab94

Browse files
Update Travis file and npm dev dependencies (#40)
* Update Travis file and npm dev dependencies * Update gitignore and remove lockfiles
1 parent 350ac0b commit c6bab94

File tree

3 files changed

+28
-12
lines changed

3 files changed

+28
-12
lines changed

.gitignore

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
/.*
22
!/.gitignore
3+
!/.github
34
!/.travis.yml
4-
/bower_components/
5-
/node_modules/
6-
/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
716
package-lock.json
17+
*.lock

.travis.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
language: node_js
22
dist: trusty
3+
sudo: required
34
node_js: stable
5+
env:
6+
- PATH=$HOME/purescript:$PATH
47
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
512
- npm install -g bower
613
- npm install
7-
script:
814
- bower install --production
15+
script:
916
- npm run -s build
1017
- bower install
11-
- npm -s test
18+
- npm run -s test
1219
after_success:
13-
- >-
14-
test $TRAVIS_TAG &&
15-
echo $GITHUB_TOKEN | pulp login &&
16-
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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"test": "pulp test"
77
},
88
"devDependencies": {
9-
"pulp": "^13.0.0",
9+
"pulp": "^14.0.0",
1010
"purescript-psa": "^0.7.3",
11-
"purescript": "^0.13.0",
12-
"rimraf": "^2.5.4"
11+
"rimraf": "^3.0.2"
1312
}
1413
}

0 commit comments

Comments
 (0)