Skip to content

Commit 1f6dde0

Browse files
Update Travis file and npm dev dependencies (#45)
* Update Travis file and npm dev dependencies * Update gitignore
1 parent 477f359 commit 1f6dde0

File tree

4 files changed

+30
-4385
lines changed

4 files changed

+30
-4385
lines changed

.gitignore

+15-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
/.*
22
!/.gitignore
33
!/.github
4+
!/.travis.yml
5+
6+
# Dependencies
7+
bower_components
8+
node_modules
9+
10+
# Generated files
11+
output
12+
generated-docs
13+
14+
# Lockfiles
15+
package-lock.json
16+
*.lock
17+
18+
# Extra files
419
!/.jscsrc
520
!/.jshintrc
6-
!/.travis.yml
7-
/bower_components/
8-
/node_modules/
9-
/output/

.travis.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ language: node_js
22
dist: trusty
33
sudo: required
44
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

0 commit comments

Comments
 (0)