Skip to content

Commit

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

* Correct Travis file

* Add test command

* Update gitignore and remove lockfiles
  • Loading branch information
thomashoneyman authored Mar 20, 2020
1 parent e805fbf commit f8dae05
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2,755 deletions.
21 changes: 16 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
/.*
!/.gitignore
!/.github
!/.travis.yml

# Dependencies
bower_components
node_modules

# Generated files
output
generated-docs

# Lockfiles
package-lock.json
*.lock

# Extra files
!/.jscsrc
!/.jshintrc
!/.travis.yml
/bower_components/
/generated-docs/
/node_modules/
/output/
!/.eslintc.json
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +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
Loading

0 comments on commit f8dae05

Please sign in to comment.