forked from s-nakaoka/choreonoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (22 loc) · 1.16 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
language: c
sudo: required
services:
- docker
matrix:
include:
- os: linux
env: TARGET_ENVIRONMENT=ubuntu-xenial-gcc
- os: linux
env: TARGET_ENVIRONMENT=ubuntu-xenial-clang
- os: linux
env: TARGET_ENVIRONMENT=ubuntu-artful-gcc
- os: linux
env: TARGET_ENVIRONMENT=ubuntu-artful-clang
- os: osx
env: TARGET_ENVIRONMENT=osx-macports
script:
- if [[ "$TARGET_ENVIRONMENT" == "ubuntu-xenial-gcc" ]]; then docker build --rm -t ${TARGET_ENVIRONMENT} -f misc/docker/Dockerfile-${TARGET_ENVIRONMENT} . ; fi
- if [[ "$TARGET_ENVIRONMENT" == "ubuntu-xenial-clang" ]]; then docker build --rm -t ${TARGET_ENVIRONMENT} -f misc/docker/Dockerfile-${TARGET_ENVIRONMENT} . ; fi
- if [[ "$TARGET_ENVIRONMENT" == "ubuntu-artful-gcc" ]]; then docker build --rm -t ${TARGET_ENVIRONMENT} -f misc/docker/Dockerfile-${TARGET_ENVIRONMENT} . ; fi
- if [[ "$TARGET_ENVIRONMENT" == "ubuntu-artful-clang" ]]; then docker build --rm -t ${TARGET_ENVIRONMENT} -f misc/docker/Dockerfile-${TARGET_ENVIRONMENT} . ; fi
- if [[ "$TARGET_ENVIRONMENT" == "osx-macports" ]]; then ./.travis-osx-macports.sh ; fi