Skip to content

Instantly share code, notes, and snippets.

@maikotrindade
Created July 28, 2018 21:41
Show Gist options
  • Save maikotrindade/2d544de08215085abfbba59ce3378a2c to your computer and use it in GitHub Desktop.
Save maikotrindade/2d544de08215085abfbba59ce3378a2c to your computer and use it in GitHub Desktop.
Travis CI with Truffle
language: node_js
sudo: required
node_js:
- "8.11.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- g++-4.8
before_install:
- export CXX="g++-4.8"
- npm install -g npm@latest
- npm install -g ganache-cli truffle
install:
- npm install
script:
- ganache-cli &
- truffle test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment