-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
45 lines (38 loc) · 1.14 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
language: cpp
sudo: true
dist: xenial
services:
- docker
matrix:
include:
- env: BUILD_TYPE=deb DEBIAN_VERSION=stretch
- env: BUILD_TYPE=deb DEBIAN_VERSION=buster
- env: BUILD_TYPE=deb DEBIAN_VERSION=stretch CROSS=raspberry-pi
- env: BUILD_TYPE=python PYTHON_VERSION=3.5 DEBIAN_VERSION=stretch BUILDER_SDIST=true
- env: BUILD_TYPE=python PYTHON_VERSION=3.5 DEBIAN_VERSION=stretch CROSS=raspberry-pi BUILDER_WHEEL=true
- env: BUILD_TYPE=python PYTHON_VERSION=3.6 DEBIAN_VERSION=stretch CROSS=raspberry-pi BUILDER_WHEEL=true
- env: BUILD_TYPE=python PYTHON_VERSION=3.7 DEBIAN_VERSION=stretch CROSS=raspberry-pi BUILDER_WHEEL=true
install:
- ci/scripts/install.sh
script:
- ci/scripts/script.sh
after_success:
- ci/scripts/after_success.sh
before_deploy:
- ci/scripts/before_deploy.sh
- cd ${TRAVIS_BUILD_DIR}
deploy:
- provider: script
script: bash ci/scripts/pypi_deploy.sh
skip_cleanup: true
on:
condition: "$BUILD_TYPE = python"
tags: true
- provider: bintray
file: "bintray.json"
user: "coord-e"
key: $BINTRAY_API_KEY
skip_cleanup: true
on:
condition: "$BUILD_TYPE = deb"
tags: true