Skip to content

Commit 2ba4972

Browse files
Update Travis file and npm dev dependencies (#21)
* Update Travis file and npm dev dependencies * Update gitignore and remove lockfiles
1 parent 915acdb commit 2ba4972

File tree

4 files changed

+29
-2756
lines changed

4 files changed

+29
-2756
lines changed

.gitignore

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
/.*
22
!/.gitignore
33
!/.github
4-
!/.eslintc.json
54
!/.travis.yml
6-
/bower_components/
7-
/node_modules/
8-
/.pulp-cache/
9-
/output/
10-
/generated-docs/
11-
*.tix
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
19+
!/.eslintc.json

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +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
14+
- bower install --production
815
script:
9-
- bower install
1016
- npm run -s build
17+
- bower install
1118
- 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

0 commit comments

Comments
 (0)