Cross-platform Python CFFI bindings for libsecp256k1
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.
 
 
 

90 lines
1.8 KiB

sudo: true
language: python
python:
- '2.7'
- '3.5'
- '3.6'
- 'pypy3'
branches:
only:
- master
# https://github.com/travis-ci/travis-ci/issues/8518
- /^[0-9]+\.[0-9]+\.[0-9]+$/
env:
global:
- LD_LIBRARY_PATH=./libsecp256k1_ext/.libs
- DYLD_FALLBACK_LIBRARY_PATH=./libsecp256k1_ext/.libs
- LIB_DIR=./libsecp256k1_ext/.libs
- INCLUDE_DIR=./libsecp256k1_ext/include
- PYPI_USERNAME=Ofekmeister
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/python-dl
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
- os: osx
language: generic
osx_image: xcode9
python: 2.7
env:
- TRAVIS_PYTHON_VERSION=2.7
- os: osx
language: generic
osx_image: xcode9
python: 3.5
env:
- TRAVIS_PYTHON_VERSION=3.5
- os: osx
language: generic
osx_image: xcode9
python: 3.6
env:
- NEED_SSL_FIX=true
- TRAVIS_PYTHON_VERSION=3.6
- os: osx
language: generic
osx_image: xcode9
python: 3.7
env:
- TRAVIS_PYTHON_VERSION=3.7
- os: linux
language: python
python: 3.5
sudo: required
services:
- docker
env:
- BUILD_LINUX_WHEELS=1
addons:
apt:
packages:
- git
- libtool
- autoconf
- automake
- pkg-config
- libffi-dev
- libgmp-dev
before_install:
- chmod +x .travis/prepare_windows_build.sh .travis/build_windows_wheels.sh
- .travis/prepare_windows_build.sh
- source .travis/install.sh
install:
- python setup.py install
script:
- mv coincurve _coincurve
- coverage run --parallel --include="*/site-packages/*.egg/coincurve/*" -m py.test
- mv _coincurve coincurve
- coverage combine
deploy:
- provider: script
skip_cleanup: true
script: chmod +x .travis/deploy.sh && chmod +x .travis/build-linux-wheels.sh && .travis/deploy.sh
on:
repo: ofek/coincurve
tags: true