2 changed files with 24 additions and 13 deletions
@ -1,20 +1,26 @@ |
|||||||
sudo: required |
sudo: required |
||||||
|
os: |
||||||
|
- linux |
||||||
|
- osx |
||||||
dist: trusty |
dist: trusty |
||||||
language: python |
addons: |
||||||
python: |
apt: |
||||||
- "2.7_with_system_site_packages" |
sources: |
||||||
|
- sourceline: 'ppa:bitcoin/bitcoin' |
||||||
|
key_url: 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xD46F45428842CE5E' |
||||||
|
packages: |
||||||
|
- bitcoind |
||||||
before_install: |
before_install: |
||||||
- sudo apt-add-repository ppa:bitcoin/bitcoin -y |
- do_on(){ if [ "$TRAVIS_OS_NAME" = "$1" ]; then shift; $@ ; fi; } |
||||||
- sudo apt-get update -q |
|
||||||
- sudo apt-get install --no-install-recommends --no-upgrade -qq bitcoind |
|
||||||
install: |
install: |
||||||
- ./install.sh --develop --no-gpg-validation |
- ./install.sh --develop --no-gpg-validation |
||||||
before_script: |
before_script: |
||||||
- source jmvenv/bin/activate |
- source jmvenv/bin/activate |
||||||
script: |
script: |
||||||
- ./test/run_tests.sh |
- do_on linux bitcoind --help | head -1 |
||||||
|
- do_on linux ./test/run_tests.sh |
||||||
after_success: |
after_success: |
||||||
- coveralls |
- do_on linux coveralls |
||||||
branches: |
branches: |
||||||
only: |
only: |
||||||
- master |
- master |
||||||
|
|||||||
Loading…
Reference in new issue