Skip to content

Commit fc730b4

Browse files
CLINTjacko125
CLINT
authored andcommittedNov 20, 2019
Synthetix v2.13.1 Arcturus Release (Synthetixio#334)
* 2.13.1-beta - Rinkeby Deployment
1 parent a07f384 commit fc730b4

File tree

103 files changed

+5006
-2965
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+5006
-2965
lines changed
 

‎.circleci/config.yml

+81-17
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,116 @@
1-
version: 2
1+
# Below is the configuration of the CI build
2+
env_defaults: &env_defaults
3+
working_directory: ~/repo
4+
docker:
5+
- image: circleci/node:10.16
6+
7+
version: 2.1
28
jobs:
39
prepare:
4-
docker:
5-
- image: 'circleci/node:10.16.3'
10+
<<: *env_defaults
611
steps:
712
- checkout
813
- run:
914
name: update-npm
1015
command: 'sudo npm install -g npm@latest'
1116
- restore_cache:
1217
keys:
13-
- 'v1.5-dependencies-{{ checksum "package-lock.json" }}'
14-
- v1.5-dependencies-
18+
- 'v2-dependencies-{{ checksum "package-lock.json" }}'
19+
- v2-dependencies-
1520
- run: npm install
16-
- run: npm run lint
21+
- run: npx truffle compile
1722
- save_cache:
1823
paths:
1924
- node_modules
20-
key: 'v1.5-dependencies-{{ checksum "package-lock.json" }}'
25+
key: 'v2-dependencies-{{ checksum "package-lock.json" }}'
2126
- persist_to_workspace:
2227
root: .
2328
paths:
2429
- node_modules
25-
unit:
26-
docker:
27-
- image: 'circleci/node:10.16.3'
30+
# add compiled contracts to persisted workspace
31+
# (note not currentlyw orking due to:
32+
# https://github.com/trufflesuite/truffle/issues/2239#issuecomment-552041859)
33+
- build
34+
35+
lint:
36+
<<: *env_defaults
37+
steps:
38+
- checkout
39+
- attach_workspace:
40+
at: .
41+
- run: npm run lint
42+
43+
test-contracts:
44+
<<: *env_defaults
2845
steps:
2946
- checkout
3047
- attach_workspace:
3148
at: .
3249
- run: npm run test:gas
3350
- run: npx codechecks
34-
int:
35-
docker:
36-
- image: 'circleci/node:10.16.3'
51+
52+
test-publish:
53+
<<: *env_defaults
54+
steps:
55+
- checkout
56+
- attach_workspace:
57+
at: .
58+
- run: npm run test:publish
59+
- run: cat test/publish/test.log
60+
61+
test-kovan:
62+
<<: *env_defaults
63+
steps:
64+
- checkout
65+
- attach_workspace:
66+
at: .
67+
- run: npm run test:testnet -- --yes --network kovan
68+
69+
test-rinkeby:
70+
<<: *env_defaults
3771
steps:
3872
- checkout
3973
- attach_workspace:
4074
at: .
41-
- run: npm run test:int
75+
- run: npm run test:testnet -- --yes --network rinkeby
76+
77+
test-ropsten:
78+
<<: *env_defaults
79+
steps:
80+
- checkout
81+
- attach_workspace:
82+
at: .
83+
- run: npm run test:testnet -- --yes --network ropsten
84+
4285
workflows:
4386
version: 2
4487
dev:
4588
jobs:
4689
- prepare
47-
- unit:
90+
- lint:
4891
requires:
4992
- prepare
50-
- int:
93+
- test-contracts:
5194
requires:
52-
- unit
95+
- prepare
96+
- test-publish:
97+
requires:
98+
- prepare
99+
- test-kovan:
100+
requires:
101+
- prepare
102+
filters:
103+
branches:
104+
only: alpha
105+
- test-rinkeby:
106+
requires:
107+
- prepare
108+
filters:
109+
branches:
110+
only: beta
111+
- test-ropsten:
112+
requires:
113+
- prepare
114+
filters:
115+
branches:
116+
only: release-candidate

‎.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
*.sol linguist-language=Solidity
22
test/* linguist-detectable=false
3-
tests/* linguist-detectable=false
3+
legacy/* linguist-detectable=false

0 commit comments

Comments
 (0)
Please sign in to comment.