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.

88 lines
1.7 KiB

7 years ago
sudo: true
7 years ago
language: python
python:
- '2.7'
- '3.5'
7 years ago
- '3.6'
6 years ago
- 'pypy3'
branches:
only:
- master
7 years ago
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
7 years ago
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/python-dl
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
7 years ago
- os: osx
language: generic
6 years ago
osx_image: xcode9
7 years ago
python: 2.7
env:
7 years ago
- TRAVIS_PYTHON_VERSION=2.7
7 years ago
- os: osx
language: generic
6 years ago
osx_image: xcode9
7 years ago
python: 3.5
env:
- TRAVIS_PYTHON_VERSION=3.5
7 years ago
- os: osx
language: generic
6 years ago
osx_image: xcode9
7 years ago
python: 3.6
env:
7 years ago
- NEED_SSL_FIX=true
7 years ago
- TRAVIS_PYTHON_VERSION=3.6
- os: osx
language: generic
osx_image: xcode9
python: 3.7
env:
- TRAVIS_PYTHON_VERSION=3.7
7 years ago
- os: linux
language: python
python: 3.5
sudo: required
services:
- docker
env:
- BUILD_LINUX_WHEELS=1
7 years ago
addons:
apt:
packages:
- git
- libtool
- autoconf
- automake
- pkg-config
- libffi-dev
- libgmp-dev
7 years ago
before_install:
6 years ago
- chmod +x .travis/prepare_windows_build.sh .travis/build_windows_wheels.sh
7 years ago
- .travis/prepare_windows_build.sh
6 years ago
- source .travis/install.sh
7 years ago
install:
- python setup.py install
script:
7 years ago
- mv coincurve _coincurve
- coverage run --parallel --include="*/site-packages/*.egg/coincurve/*" -m py.test
- mv _coincurve coincurve
7 years ago
- coverage combine
deploy:
provider: script
skip_cleanup: true
7 years ago
script: chmod +x .travis/deploy.sh && chmod +x .travis/build-linux-wheels.sh && .travis/deploy.sh
7 years ago
on:
tags: true
all_branches: true