-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
69 lines (66 loc) · 1.44 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
stages:
- test
- deploy
matrix:
include:
- stage: test
os: linux
env: SCRIPT=ubuntu WITH_CORE_LIBRARY=yes
services: docker
- stage: test
os: linux
env: SCRIPT=ubuntu
services: docker
- stage: test
os: linux
env: SCRIPT=debian WITH_CORE_LIBRARY=yes
services: docker
- stage: test
os: linux
env: SCRIPT=debian
services: docker
- stage: test
os: linux
env: SCRIPT=fedora WITH_CORE_LIBRARY=yes
services: docker
- stage: test
os: linux
env: SCRIPT=fedora
services: docker
- stage: test
os: osx
env: SCRIPT=osx WITH_CORE_LIBRARY=yes
- stage: test
os: osx
env: SCRIPT=osx
- if: branch IN (master, develop)
stage: deploy
os: linux
env: SCRIPT=manylinux2010 BINARY_PACKAGE=yes
language: python
python: 3.5
- if: branch IN (master, develop)
stage: deploy
os: linux
env: SCRIPT=manylinux2010 BINARY_PACKAGE=yes
language: python
python: 3.6
- if: branch IN (master, develop)
stage: deploy
os: linux
env: SCRIPT=sdist
language: python
python: 3.6
script:
- $TRAVIS_BUILD_DIR/.travis/${SCRIPT}.sh
deploy:
skip_cleanup: true
provider: script
script:
- $TRAVIS_BUILD_DIR/.travis/deploy.sh
on:
tags: false
condition: $TRAVIS_BUILD_STAGE_NAME = Deploy
branch:
- develop
- master