Skip to content

Commit d53ef74

Browse files
committed
chore: add basic travis ci config
1 parent 0c1482f commit d53ef74

File tree

4 files changed

+79
-35
lines changed

4 files changed

+79
-35
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
node_modules/
22
build/
33
coverage/
4-
coverage.json
4+
coverage.json
5+
6+
.idea
7+
.vscode

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"ethlint": "^1.2.4",
4141
"ganache-cli": "^6.4.3",
4242
"solidity-coverage": "^0.5.11",
43+
"truffle": "^5.0.20",
4344
"truffle-assertions": "^0.9.0"
4445
}
4546
}

travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
dist: trusty
2+
sudo: false
3+
group: beta
4+
language: node_js
5+
node_js:
6+
- "8"
7+
8+
cache:
9+
directories:
10+
- node_modules
11+
12+
jobs:
13+
# XXX fast_finish doesn't work with stages yet. See
14+
# https://github.com/travis-ci/travis-ci/issues/8425
15+
# --elopio - 20180531
16+
fast_finish: true
17+
include:
18+
- stage: tests
19+
name: "Linter"
20+
script: npm run lint
21+
22+
- stage: tests
23+
name: "Unit tests"
24+
script: npm run test

yarn.lock

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
js-tokens "^4.0.0"
1818

1919
"@types/node@^10.3.2":
20-
version "10.14.7"
21-
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.7.tgz#1854f0a9aa8d2cd6818d607b3d091346c6730362"
20+
version "10.14.8"
21+
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.8.tgz#fe444203ecef1162348cd6deb76c62477b2cc6e9"
2222

2323
abbrev@1:
2424
version "1.1.1"
@@ -102,6 +102,10 @@ anymatch@^1.3.0:
102102
micromatch "^2.1.5"
103103
normalize-path "^2.0.0"
104104

105+
app-module-path@^2.2.0:
106+
version "2.2.0"
107+
resolved "https://registry.yarnpkg.com/app-module-path/-/app-module-path-2.2.0.tgz#641aa55dfb7d6a6f0a8141c4b9c0aa50b6c24dd5"
108+
105109
aproba@^1.0.3:
106110
version "1.2.0"
107111
resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
@@ -272,8 +276,8 @@ bluebird@^2.9.34:
272276
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.11.0.tgz#534b9033c022c9579c56ba3b3e5a5caafbb650e1"
273277

274278
bluebird@^3.5.0:
275-
version "3.5.4"
276-
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.4.tgz#d6cc661595de30d5b3af5fcedd3c0b3ef6ec5714"
279+
version "3.5.5"
280+
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
277281

278282
279283
version "4.11.6"
@@ -1016,8 +1020,8 @@ eslint-plugin-es@^1.3.1:
10161020
regexpp "^2.0.1"
10171021

10181022
eslint-plugin-import@^2.16.0:
1019-
version "2.17.2"
1020-
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.17.2.tgz#d227d5c6dc67eca71eb590d2bb62fb38d86e9fcb"
1023+
version "2.17.3"
1024+
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.17.3.tgz#00548b4434c18faebaba04b24ae6198f280de189"
10211025
dependencies:
10221026
array-includes "^3.0.3"
10231027
contains-path "^0.1.0"
@@ -1029,7 +1033,7 @@ eslint-plugin-import@^2.16.0:
10291033
lodash "^4.17.11"
10301034
minimatch "^3.0.4"
10311035
read-pkg-up "^2.0.0"
1032-
resolve "^1.10.0"
1036+
resolve "^1.11.0"
10331037

10341038
eslint-plugin-node@^8.0.1:
10351039
version "8.0.1"
@@ -1271,8 +1275,8 @@ expand-range@^1.8.1:
12711275
fill-range "^2.1.0"
12721276

12731277
express@^4.14.0:
1274-
version "4.17.0"
1275-
resolved "https://registry.yarnpkg.com/express/-/express-4.17.0.tgz#288af62228a73f4c8ea2990ba3b791bb87cd4438"
1278+
version "4.17.1"
1279+
resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
12761280
dependencies:
12771281
accepts "~1.3.7"
12781282
array-flatten "1.1.1"
@@ -1866,8 +1870,8 @@ ignore@^4.0.6:
18661870
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
18671871

18681872
ignore@^5.0.2:
1869-
version "5.1.1"
1870-
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.1.tgz#2fc6b8f518aff48fef65a7f348ed85632448e4a5"
1873+
version "5.1.2"
1874+
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.2.tgz#e28e584d43ad7e92f96995019cc43b9e1ac49558"
18711875

18721876
import-fresh@^3.0.0:
18731877
version "3.0.0"
@@ -2455,14 +2459,14 @@ minimist@~0.0.1:
24552459
version "0.0.10"
24562460
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
24572461

2458-
minipass@^2.2.1, minipass@^2.3.4:
2462+
minipass@^2.2.1, minipass@^2.3.5:
24592463
version "2.3.5"
24602464
resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848"
24612465
dependencies:
24622466
safe-buffer "^5.1.2"
24632467
yallist "^3.0.0"
24642468

2465-
minizlib@^1.1.1:
2469+
minizlib@^1.2.1:
24662470
version "1.2.1"
24672471
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614"
24682472
dependencies:
@@ -2743,6 +2747,10 @@ optionator@^0.8.1, optionator@^0.8.2:
27432747
type-check "~0.3.2"
27442748
wordwrap "~1.0.0"
27452749

2750+
2751+
version "1.0.1"
2752+
resolved "https://registry.yarnpkg.com/original-require/-/original-require-1.0.1.tgz#0f130471584cd33511c5ec38c8d59213f9ac5e20"
2753+
27462754
os-homedir@^1.0.0:
27472755
version "1.0.2"
27482756
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
@@ -2979,8 +2987,8 @@ pseudomap@^1.0.2:
29792987
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
29802988

29812989
psl@^1.1.24:
2982-
version "1.1.31"
2983-
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184"
2990+
version "1.1.32"
2991+
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.32.tgz#3f132717cf2f9c169724b2b6caf373cf694198db"
29842992

29852993
public-encrypt@^4.0.0:
29862994
version "4.0.3"
@@ -3214,9 +3222,9 @@ [email protected]:
32143222
version "1.1.7"
32153223
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
32163224

3217-
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.5.0, resolve@^1.8.1:
3218-
version "1.11.0"
3219-
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.0.tgz#4014870ba296176b86343d50b60f3b50609ce232"
3225+
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.5.0, resolve@^1.8.1:
3226+
version "1.11.1"
3227+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e"
32203228
dependencies:
32213229
path-parse "^1.0.6"
32223230

@@ -3732,8 +3740,8 @@ [email protected]:
37323740
xhr-request-promise "^0.1.2"
37333741

37343742
table@^5.2.3:
3735-
version "5.3.3"
3736-
resolved "https://registry.yarnpkg.com/table/-/table-5.3.3.tgz#eae560c90437331b74200e011487a33442bd28b4"
3743+
version "5.4.0"
3744+
resolved "https://registry.yarnpkg.com/table/-/table-5.4.0.tgz#d772a3216e68829920a41a32c18eda286c95d780"
37373745
dependencies:
37383746
ajv "^6.9.1"
37393747
lodash "^4.17.11"
@@ -3771,16 +3779,16 @@ tar@^2.1.1:
37713779
inherits "2"
37723780

37733781
tar@^4:
3774-
version "4.4.8"
3775-
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d"
3782+
version "4.4.9"
3783+
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.9.tgz#058fbb152f6fc45733e84585a40c39e59302e1b3"
37763784
dependencies:
37773785
chownr "^1.1.1"
37783786
fs-minipass "^1.2.5"
3779-
minipass "^2.3.4"
3780-
minizlib "^1.1.1"
3787+
minipass "^2.3.5"
3788+
minizlib "^1.2.1"
37813789
mkdirp "^0.5.0"
37823790
safe-buffer "^5.1.2"
3783-
yallist "^3.0.2"
3791+
yallist "^3.0.3"
37843792

37853793
text-table@^0.2.0:
37863794
version "0.2.0"
@@ -3854,21 +3862,29 @@ tree-kill@^1.2.0:
38543862
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.1.tgz#5398f374e2f292b9dcc7b2e71e30a5c3bb6c743a"
38553863

38563864
truffle-assertions@^0.9.0:
3857-
version "0.9.0"
3858-
resolved "https://registry.yarnpkg.com/truffle-assertions/-/truffle-assertions-0.9.0.tgz#710bfa7fc7ef9f7fbc37a06731010b3f7c8e825b"
3865+
version "0.9.1"
3866+
resolved "https://registry.yarnpkg.com/truffle-assertions/-/truffle-assertions-0.9.1.tgz#74379a208f1175d6de9f33fba9a8cbb3aec27aa5"
38593867
dependencies:
38603868
assertion-error "^1.1.0"
38613869
lodash.isequal "^4.5.0"
38623870

38633871
truffle-hdwallet-provider@^1.0.7:
3864-
version "1.0.9"
3865-
resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.9.tgz#1e7f239631ada08cacd7cdf3fdbc39f2033e04e7"
3872+
version "1.0.10"
3873+
resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.10.tgz#74781ab328b7c41b505a5dc76249a4e75bc287a8"
38663874
dependencies:
38673875
any-promise "^1.3.0"
38683876
bindings "^1.3.1"
38693877
web3 "1.0.0-beta.37"
38703878
websocket "^1.0.28"
38713879

3880+
truffle@^5.0.20:
3881+
version "5.0.20"
3882+
resolved "https://registry.yarnpkg.com/truffle/-/truffle-5.0.20.tgz#6fa0ebaa8d3a5c325a717a3bfaf3fee2bf6f0475"
3883+
dependencies:
3884+
app-module-path "^2.2.0"
3885+
mocha "^4.1.0"
3886+
original-require "1.0.1"
3887+
38723888
tslib@^1.9.0:
38733889
version "1.9.3"
38743890
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
@@ -3903,8 +3919,8 @@ typedarray-to-buffer@^3.1.2, typedarray-to-buffer@^3.1.5:
39033919
is-typedarray "^1.0.0"
39043920

39053921
uglify-js@^3.1.4:
3906-
version "3.5.15"
3907-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.5.15.tgz#fe2b5378fd0b09e116864041437bff889105ce24"
3922+
version "3.6.0"
3923+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.0.tgz#704681345c53a8b2079fb6cec294b05ead242ff5"
39083924
dependencies:
39093925
commander "~2.20.0"
39103926
source-map "~0.6.1"
@@ -4333,8 +4349,8 @@ [email protected]:
43334349
cookiejar "^2.1.1"
43344350

43354351
xhr2@*:
4336-
version "0.1.4"
4337-
resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f"
4352+
version "0.2.0"
4353+
resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.2.0.tgz#eddeff782f3b7551061b8d75645085269396e521"
43384354

43394355
xhr@^2.0.4, xhr@^2.3.3:
43404356
version "2.5.0"
@@ -4365,7 +4381,7 @@ yallist@^2.1.2:
43654381
version "2.1.2"
43664382
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
43674383

4368-
yallist@^3.0.0, yallist@^3.0.2:
4384+
yallist@^3.0.0, yallist@^3.0.3:
43694385
version "3.0.3"
43704386
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9"
43714387

0 commit comments

Comments
 (0)