Repository navigation
Expand file tree
/
Copy pathcircle.yml
More file actions
43 lines (37 loc) · 1.57 KB
/
Copy pathcircle.yml
File metadata and controls
43 lines (37 loc) · 1.57 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
machine:
node:
version: 9.1.0
dependencies:
cache_directories:
- "node_modules"
- "~/.yarn-cache"
override:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
- mkdir -p ~/.yarn-cache
- yarn global add greenkeeper-lockfile@1
- yarn --pure-lockfile --cache-folder ~/.yarn-cache #truffle-contract replies on ethjs-abi which requires node>v6.5
- git submodule update --init
# Set up parity
- wget https://parity-downloads-mirror.parity.io/v1.8.3/x86_64-unknown-linux-gnu/parity_1.8.3_amd64.deb
- sudo dpkg -i parity_1.8.3_amd64.deb
- echo "password" > parityPassword
- cp ./parity-genesis.template.json ./parity-genesis.json
# Update our parity genesis file
- sed -i "s/wwwww/$(parity --keys-path ./keys --password ./parityPassword account new)/g" ./parity-genesis.json
- sed -i "s/xxxxx/$(parity --keys-path ./keys --password ./parityPassword account new)/g" ./parity-genesis.json
- sed -i "s/yyyyy/$(parity --keys-path ./keys --password ./parityPassword account new)/g" ./parity-genesis.json
- sed -i "s/zzzzz/$(parity --keys-path ./keys --password ./parityPassword account new)/g" ./parity-genesis.json
test:
pre:
- greenkeeper-lockfile-update
override:
- yarn run eslint
- yarn run solium
- yarn run check:storagevars
- yarn run test:contracts
- yarn run test:contracts:upgrade
- yarn run test:contracts:coverage
- yarn run test:contracts:gasCosts
post:
- mv ./test-results.xml $CIRCLE_TEST_REPORTS/truffle.xml
- greenkeeper-lockfile-upload