-
Notifications
You must be signed in to change notification settings - Fork 53
/
.travis.yml
26 lines (23 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: 'node_js'
sudo: false
node_js:
- '8'
env:
- TEST_DIR=BasicMathLib/truffle
- TEST_DIR=ArrayUtilsLib/truffle
- TEST_DIR=TokenLib/truffle
- TEST_DIR=StringUtilsLib/truffle
- TEST_DIR=WalletLib/truffle
- TEST_DIR=CrowdsaleLib/DirectCrowdsale/truffle
- TEST_DIR=CrowdsaleLib/EvenDistroCrowdsale/truffle
- TEST_DIR=LinkedListLib/truffle
- TEST_DIR=VestingLib/truffle
script:
- 'cd $TEST_DIR && npm install'
- 'testrpc --gasLimit 0xffffffffffff --account=''0xfacec5711eb0a84bbd13b9782df26083fc68cf41b2210681e4d478687368fdc3,100000000000000000000000000'' --account=''0xb7d90a23546b263a9a68a26ed7045cd6ce7d3b0dfa7d3c7b66434a4a89453cf7,100000000000000000000000000'' --account=''0x58823bde84d19ad2bdb6739f9ef1fc8ca4ba0c617ecc9a1fa675282175a9bc02,100000000000000000000000000'' --account=''0x42891283028bba9611583fcaa0dea947251b9f980a1e3d9858cd33b0e8077195,100000000000000000000000000'' --account=''0x6009fc3fda6c5976cfecc36b9c0c9423f78bcc971ade88f32c0e016225c1601a,100000000000000000000000000'' --account=''0xe598179ebee08a9b1f1afaef6ac526e5cfe615d87831aed8b080c988773bda6d,100000000000000000000000000'' --account=''0xe598179ebee08a9b1f1afaef6ac526e5cfe615d87831aed8b080c988773bda6e,100000000000000000000000000'' > /dev/null &'
- 'truffle test'
after_script:
- 'npm install -g codecov'
- 'npm run test:coverage'
- 'cd $TRAVIS_BUILD_DIR'
- 'codecov'