forked from ethereum-alarm-clock/ethereum-alarm-clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 997 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: python
python:
- "3.5"
dist: trusty
sudo: required
env:
global:
- SOLC_BINARY="$TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/solc"
matrix:
- TEST_DIR=block-scheduling
- TEST_DIR=timestamp-scheduling
- TEST_DIR=request-factory
- TEST_DIR=request-tracker
- TEST_DIR=transaction-request
cache:
- pip: true
- directories:
- $HOME/.ethash
- $TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/
- $TRAVIS_BUILD_DIR/solc-versions/solidity-0.3.6/build/
before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo apt-get update
install:
- ./bin/install_solc.sh
- travis_retry sudo apt-get install -y ethereum
- travis_retry pip install setuptools --upgrade
- pip install -r requirements.txt
- python setup.py install
before_script:
- ls -lah $TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/
- ./solc-versions/solc-0.3.6/solc --version
- mkdir -p $HOME/.ethash
- geth makedag 0 $HOME/.ethash
script:
- py.test tests/$TEST_DIR -v