Skip to content

Commit 251fef9

Browse files
Update Travis file and npm dev dependencies (#69)
* Update Travis file and npm dev dependencies * Update gitignore and remove lockfiles
1 parent b041043 commit 251fef9

File tree

4 files changed

+27
-1622
lines changed

4 files changed

+27
-1622
lines changed

.gitignore

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
/.*
2-
!/.github
32
!/.gitignore
3+
!/.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+
dce-output
13+
generated-docs
14+
15+
# Lockfiles
16+
package-lock.json
17+
*.lock

.travis.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
21
language: node_js
3-
sudo: required
42
dist: trusty
5-
node_js: 8
3+
sudo: required
4+
node_js: stable
65
env:
76
- PATH=$HOME/purescript:$PATH
87
install:
9-
- 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')
10-
- 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
1110
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1211
- chmod a+x $HOME/purescript
1312
- npm install -g bower
1413
- npm install
14+
- bower install --production
1515
script:
16+
- npm run -s build
1617
- bower install
17-
- pulp test
18+
- npm run -s test
1819
after_success:
19-
- >-
20-
test $TRAVIS_TAG &&
21-
echo $GITHUB_TOKEN | pulp login &&
22-
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)