safe-react/.travis.yml

25 lines
632 B
YAML

language: node_js
node_js:
- "8"
os:
- linux
before_script:
- yarn global add truffle@4.1.5
- yarn global add surge
- git clone https://github.com/gnosis/gnosis-safe-contracts.git
- cd gnosis-safe-contracts
- git fetch && git checkout feature/optimize_personal_edition
- truffle compile && cd ..
after_success:
- yarn build-storybook
- yarn build
- |
if [ ${TRAVIS_BRANCH} = "master" ]; then
export NODE_ENV=production;
else
export NODE_ENV=development;
fi
- cd build_webpack/ && cp index.html 200.html && cd ..
- chmod ugo+x ./config/deploy/deploy.sh
- ./config/deploy/deploy.sh