Skip to content

Commit

Permalink
Update Travis file and npm dev dependencies (#12)
Browse files Browse the repository at this point in the history
* Update Travis file and npm dev dependencies

* Update gitignore and remove lockfiles
  • Loading branch information
thomashoneyman authored Mar 20, 2020
1 parent 5967e32 commit 6e9c896
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
16 changes: 13 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
/.*
!/.gitignore
!/.github
!/.travis.yml
/bower_components/
/node_modules/
/output/

# Dependencies
bower_components
node_modules

# Generated files
output
generated-docs

# Lockfiles
package-lock.json
*.lock
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@ language: node_js
dist: trusty
sudo: required
node_js: stable
env:
- PATH=$HOME/purescript:$PATH
install:
- TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
- curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
- npm install -g bower
- npm install
- bower install
- bower install --production
script:
- npm run -s build
- bower install
- npm run -s test
after_success:
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"test": "pulp test -- --censor-lib --strict"
},
"devDependencies": {
"pulp": "^13.0.0",
"purescript": "0.13.6",
"pulp": "^14.0.0",
"purescript-psa": "^0.7.3",
"rimraf": "^3.0.2"
}
Expand Down

0 comments on commit 6e9c896

Please sign in to comment.