forked from dwavesystems/qbsolv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
88 lines (83 loc) · 2.72 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
sudo: false
language: python
os: linux
env:
global:
- TWINE_USERNAME=dwtools
- secure: "pvWM1Newi4AQPDh3KOrhlOSNoxHW2HBMG1Sd20s7voeGY097ESdXcJzh3EH3la8c6SlP6jyKWlm1NvoEAGt2gF1F0ME3flX6QAne0I14FdjFnmzVmvhC5/9jN3y97uN4yKvtdnFKqM3sI5BwMQW30fmxc+0xI3SlUTXdSUjEdR/cIPflynP8poTwNHLe+RpaFalCqJygBHBzgvatIK6kZMpiu4IhJWecQPeIR8Mx/srclYhGn+/IJP7EFTUz5ijRX1Oz4npWVs2FiVLmR46rKThpeAEqj6ZE1K4Qc6mj0+Wkd9w0qusq1zdZeUfJtIRl1S3PSdm6432kuE+eAlTs5bahw1Ha1VDuR+rOfhkEIkm/ucl5/Sh/3e604sVvggEadMuVl5NTCAClnkA5uU+GQKpvSoUGblgCMxhUCsLWSNMYV03qaPTK10OBOcD0lYkUIqCVQ5WDw9yBEsAIjO1WXC4NyP3PbVlkgTiWKaWattvmE+cqZ22Z7/nolxPySlf4ZIbTp94YOjiAB83g/Bf+7k7wJpo3Ag1eA4B20k7nDuoNFf7VdUeZCJx5PbkSs5Q40swkI3AZudJ6au36XsPtl9vpidPuJ8F6cL9A1QyIRCB59he7AJck2lcjwU81QWMphBQT1mBKaR9FBqcd1Dje+/2oQ7dYw8L4iKjrKFvFzTE="
matrix:
include:
- language: c
script: ./ci/travis/cpp-coverage.sh
deploy:
env: C_COMPILER=gcc CXX_COMPILER=g++
- language: c
script: ./ci/travis/cpp-coverage.sh
deploy:
env: C_COMPILER=clang CXX_COMPILER=clang++
- language: c
os: osx
script: ./ci/travis/osx-cpp-coverage.sh
deploy:
env: C_COMPILER=gcc CXX_COMPILER=g++
- language: c
os: osx
script: ./ci/travis/osx-cpp-coverage.sh
deploy:
env: C_COMPILER=clang CXX_COMPILER=clang++
- language: python
sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- language: python
sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
PRE_CMD=linux32
- os: osx
language: generic
before_install:
- brew update
- virtualenv env -p python2
- source env/bin/activate
script: ./ci/travis/osx-build-wheel.sh
- os: osx
language: generic
before_install:
- brew update
- brew upgrade python
- pip3 install virtualenv
- virtualenv env -p python3
- source env/bin/activate
script:
- ./ci/travis/osx-build-wheel.sh
- python setup.py sdist
after_success:
- pip install twine
deploy:
provider: script
script:
- twine upload --username $TWINE_USERNAME --password $TWINE_PASSWORD --skip-existing wheelhouse/* dist/*
skip_cleanup: true
on:
tags: true
# - os: osx
# language: generic
# env: TOXENV=pynightly
addons:
apt:
packages:
- libgtest-dev
script:
- docker pull $DOCKER_IMAGE
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/ci/travis/build-wheels.sh
- ls wheelhouse/
deploy:
provider: script
script: ci/travis/upload-wheels.sh
skip_cleanup: true
on:
tags: true
branch: master