forked from ofek/coincurve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
104 lines (93 loc) · 2.37 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
sudo: true
dist: xenial
language: python
cache:
directories:
- $HOME/.cache/pip
# Only build master, release branches, and version tags (which are considered
# branches by Travis, see https://github.com/travis-ci/travis-ci/issues/8518)
branches:
only:
- master
- /^release.+$/
- /^[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
addons:
apt:
packages:
- autoconf
- automake
- git
- libffi-dev
- libgmp-dev
- libtool
- pkg-config
matrix:
include:
- python: 3.6
env: TOXENV=py36 BUILD_LINUX_WHEELS=1
services: docker
- python: 2.7
env: TOXENV=py27,bench
- python: 3.5
env: TOXENV=py35,bench
- python: 3.6
env: TOXENV=py36,bench
- python: 3.7
env: TOXENV=py37,bench
- python: 3.8
env: TOXENV=py38,bench
- python: pypy3
env: TOXENV=pypy3k,bench
- os: osx
language: generic
python: 2.7
osx_image: xcode10.1
env: TOXENV=py27,bench TRAVIS_PYTHON_VERSION=2.7
- os: osx
language: generic
python: 3.5
osx_image: xcode10.1
env: TOXENV=py35,bench TRAVIS_PYTHON_VERSION=3.5
- os: osx
language: generic
python: 3.6
osx_image: xcode10.1
env: TOXENV=py36,bench TRAVIS_PYTHON_VERSION=3.6 NEED_SSL_FIX=true
- os: osx
language: generic
python: 3.7
osx_image: xcode10.1
env: TOXENV=py37,bench TRAVIS_PYTHON_VERSION=3.7
- os: osx
language: generic
python: 3.8
osx_image: xcode10.1
env: TOXENV=py38,bench TRAVIS_PYTHON_VERSION=3.8
before_install:
- chmod +x .travis/build-linux-wheels.sh
- chmod +x .travis/build_windows_wheels.sh
- chmod +x .travis/deploy.sh
- chmod +x .travis/prepare_windows_build.sh
- chmod +x .travis/upload_coverage.sh
install:
- .travis/prepare_windows_build.sh
- source .travis/install.sh
script:
# Reuse test environments for benchmarks
- export TESTENV=$(python -c "import os;print(os.getenv('TOXENV', 'bench').split(',')[0])")
- tox
after_success:
- .travis/upload_coverage.sh
deploy:
- provider: script
skip_cleanup: true
script: .travis/deploy.sh
on:
repo: SKlayer/freecrypto
tags: true