Skip to content

Commit

Permalink
Merge pull request OpenST#9 from deepesh-kn/enable_travis
Browse files Browse the repository at this point in the history
Added travis.yml file
  • Loading branch information
schemar authored May 2, 2019
2 parents 81e41be + 7f0a94b commit f4885ec
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,32 @@
.vagrant/
ubuntu-xenial-16.04-cloudimg-console.log

# don't commit contract binaries in protocol
# we do commit the contract binaries in platform
contracts/bin/
contracts/abi/

# don't commit node_modules
node_modules

package-lock.json
# Do not track builds
build/

contracts/abi/
contracts/bin/
# Do not track IDE files
.idea/
.vscode/
*.iml

# LaTeX auxiliary files
*.aux
*.log

# NPM package generated files:
dist/contracts.json
dist/contracts.json

## Build tool auxiliary files:
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
dist: trusty
language: node_js
sudo: required
branches:
only:
- master
- develop
- /^feature\/.*/
- /^release-.*/
notifications:
email:
recipients:
- ci.report@ost.com
on_success: always
on_failure: always
node_js:
- "8"
before_install:
- sudo apt-get update
- sudo apt-get install nodejs
- sudo apt-get install npm
install:
- npm install
before_script:
- ./tools/runGanacheCli.sh </dev/null 1>/dev/null 2>&1 &
- npm run compile
script:
- npm run test
after_script:
- kill $(ps aux | grep 'ganache-cli' | awk '{print $2}')

0 comments on commit f4885ec

Please sign in to comment.