forked from plasticityai/supersqlite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (60 loc) · 2.1 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
language: python
env:
global:
CIBW_BUILD_VERBOSITY: 3
PIP: pip3
language: generic
os:
- linux
- osx
matrix:
exclude:
- os: linux
- os: osx
include:
- os: osx
osx_image: xcode10.1
include:
- os: osx
osx_image: xcode10.1
env: CIBW_SKIP="cp33-* cp34-* cp35-* cp36-* cp37-*"
- os: osx
osx_image: xcode10.1
env: CIBW_SKIP="cp27-* cp34-* cp35-* cp36-* cp37-*"
- os: osx
osx_image: xcode10.1
env: CIBW_SKIP="cp27-* cp33-* cp35-* cp36-* cp37-*"
- os: osx
osx_image: xcode10.1
env: CIBW_SKIP="cp27-* cp33-* cp34-* cp36-* cp37-*"
- os: osx
osx_image: xcode10.1
env: CIBW_SKIP="cp27-* cp33-* cp34-* cp35-* cp37-*"
- os: osx
osx_image: xcode10.1
env: CIBW_SKIP="cp27-* cp33-* cp34-* cp35-* cp36-*"
script:
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install gcc@8 --without-multilib
- export CI_CC="/usr/local/Cellar/gcc/8.2.0/bin/gcc-8 -static-libgcc"
- export PATH=/usr/local/bin:$PATH
- echo $PATH
- which g++ || true
- mv /usr/local/bin/g++ /usr/local/bin/g++.bak || true
- ln -s /usr/local/Cellar/gcc/8.2.0/bin/g++-8 /usr/local/bin/g++
# TODO: Not sure why, but some Python C++ compilations are happening with this version so harcoding a
# link for this version. This will likely break in the future if wherever it is getting 4.2
# changes, but I guess the version could just be updated below from 4.2 to whatever it is in
# the future?
- which g++-4.2 || true
- mv /usr/local/bin/g++-4.2 /usr/local/bin/g++-4.2.bak || true
- ln -s /usr/local/Cellar/gcc/8.2.0/bin/g++-8 /usr/local/bin/g++-4.2
- which g++-4.2
- $PIP install pip setuptools -U
- $PIP install cibuildwheel==0.10.0
- eval "buildwheel() { cibuildwheel --output-dir wheelhouse >>buildwheel.log 2>&1; }"
- travis_wait 60 buildwheel || (tail -c 3670016 buildwheel.log && exit 1)
- tail -c 3670016 buildwheel.log
- ls wheelhouse
- $PIP install awscli --upgrade
- python3 -m awscli s3 sync ./wheelhouse/ s3://supersqlite.plasticity.ai/wheelhouse/