You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
sudo: false
|
|
language: python
|
|
python:
|
|
- 3.5
|
|
- 3.6
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: 'ppa:tah83/secp256k1'
|
|
packages:
|
|
- libsecp256k1-0
|
|
install:
|
|
- pip install -r contrib/requirements/requirements-travis.txt
|
|
cache:
|
|
- pip: true
|
|
- directories:
|
|
- /tmp/electrum-build
|
|
script:
|
|
- tox
|
|
after_success:
|
|
- if [ "$TRAVIS_BRANCH" = "master" ]; then pip install pycurl requests && contrib/make_locale; fi
|
|
- coveralls
|
|
jobs:
|
|
include:
|
|
- stage: binary builds
|
|
sudo: true
|
|
env:
|
|
- TARGET_OS=Windows
|
|
python: 3.6
|
|
install:
|
|
- sudo dpkg --add-architecture i386
|
|
- wget -nc https://dl.winehq.org/wine-builds/Release.key
|
|
- sudo apt-key add Release.key
|
|
- sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq winehq-stable dirmngr gnupg2 p7zip-full mingw-w64
|
|
before_script: ls -lah /tmp/electrum-build
|
|
script: ./contrib/build-wine/build.sh $TRAVIS_COMMIT
|
|
after_success: true
|
|
- os: osx
|
|
language: c
|
|
env:
|
|
- TARGET_OS=macOS
|
|
python: false
|
|
install:
|
|
- git fetch --all --tags
|
|
- git fetch origin --unshallow
|
|
script: ./contrib/build-osx/make_osx
|
|
after_script: ls -lah dist && md5 dist/*
|
|
after_success: true
|
|
|