forked from LimeChain/etherlime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 970 Bytes
/
.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
27
28
29
30
31
32
33
34
35
36
language: node_js
node_js:
- 8.9.4
before_install:
- npm install -g lerna
# Repo for Yarn
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6494C6D6997C215E
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
#TODO: Uncomment when travis-ci fix libc6 library to version 2.29
# - sudo add-apt-repository -y ppa:ethereum/ethereum
# - sudo apt-get update -qq
# - sudo apt-get install dpkg
# - sudo apt-get update -qq
# - sudo apt-get install solc
cache:
yarn: true
install:
- npm install
- lerna bootstrap
- cd packages/etherlime
- yarn link
- cd ..
- cd etherlime-lib
- npm run tsc
- cd ../..
services:
- docker
script:
- etherlime ganache &> /dev/null &
- sleep 10
- npm test
after_success:
- npm run coverage