zcash-grant-system/.travis.yml

38 lines
1.0 KiB
YAML
Raw Normal View History

matrix:
include:
2018-09-11 12:37:57 -07:00
# Frontend
- language: node_js
2018-11-21 15:24:33 -08:00
node_js: 8.13.0
before_install:
- cd frontend/
install: yarn
script:
2018-09-11 12:37:57 -07:00
- yarn run lint
- yarn run tsc
# Backend
- language: python
python: 3.6
before_install:
- cd backend/
2018-09-11 12:52:10 -07:00
- cp .env.example .env
2018-11-21 15:24:33 -08:00
env:
- FLASK_APP=app.py FLASK_DEBUG=1 CROWD_FUND_URL=https://eip-712.herokuapp.com/contract/crowd-fund
CROWD_FUND_FACTORY_URL=https://eip-712.herokuapp.com/contract/factory
install: pip install -r requirements/dev.txt
script:
2018-09-11 12:37:57 -07:00
- flask test
# Contracts
- language: node_js
2018-11-21 15:24:33 -08:00
node_js: 8.13.0
before_install:
2018-09-11 12:37:57 -07:00
- cd contract/
2018-11-21 15:24:33 -08:00
install: yarn && yarn add global truffle ganache-cli@6.1.8
before_script:
- ganache-cli > /dev/null &
- sleep 10
2018-09-11 12:37:57 -07:00
script:
- yarn run test
2018-11-21 15:24:33 -08:00
env:
- CROWD_FUND_URL=https://eip-712.herokuapp.com/contract/crowd-fund
CROWD_FUND_FACTORY_URL=https://eip-712.herokuapp.com/contract/factory