Skip to content

Commit 70f87f4

Browse files
Update Travis file and npm dev dependencies (#8)
* Update Travis file and npm dev dependencies * Update gitignore and remove lockfiles * Remove tests command
1 parent 7cde5e9 commit 70f87f4

File tree

4 files changed

+22
-1625
lines changed

4 files changed

+22
-1625
lines changed

.gitignore

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
!/.gitignore
33
!/.github
44
!/.travis.yml
5-
/bower_components/
6-
/node_modules/
7-
/output/
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

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
8-
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9-
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
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
1010
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1111
- chmod a+x $HOME/purescript
1212
- npm install -g bower
1313
- npm install
14-
script:
1514
- bower install --production
15+
script:
1616
- npm run -s build
1717
after_success:
18-
- >-
19-
test $TRAVIS_TAG &&
20-
echo $GITHUB_TOKEN | pulp login &&
21-
echo y | pulp publish --no-push
18+
- >-
19+
test $TRAVIS_TAG &&
20+
echo $GITHUB_TOKEN | pulp login &&
21+
echo y | pulp publish --no-push

0 commit comments

Comments
 (0)