forked from choreonoid/choreonoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 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: c
compiler: gcc
sudo: required
addons:
apt:
packages:
- ubuntu-dev-tools
- dput
- debhelper
- fakeroot
- pkg-kde-tools
matrix:
include:
- os: linux
env:
- TARGET_DISTROS=xenial
- TARGET_ENVIRONMENT=ubuntu-xenial
- TARGET_CC=gcc
- os: linux
env:
- TARGET_DISTROS=xenial
- TARGET_ENVIRONMENT=ubuntu-xenial
- TARGET_CC=clang
- WITHOUT_PACKAGING=1
- os: linux
env:
- TARGET_DISTROS=trusty
- TARGET_ENVIRONMENT=ubuntu-trusty
- TARGET_CC=gcc
script:
- docker build --rm -t ${TARGET_ENVIRONMENT}-${TARGET_CC} -f misc/docker/Dockerfile-${TARGET_ENVIRONMENT}-${TARGET_CC} .
after_success:
- ${TRAVIS_BUILD_DIR}/misc/ci-scripts/packaging.sh
deploy:
provider: script
skip_cleanup: true
on:
all_branches: true
condition: -r ${TRAVIS_BUILD_DIR}/misc/ci-scripts/deploy-launchpad.sh
script:
- sh ${TRAVIS_BUILD_DIR}/misc/ci-scripts/deploy-launchpad.sh