-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy path.travis.yml
More file actions
72 lines (71 loc) · 2.54 KB
/
Copy path.travis.yml
File metadata and controls
72 lines (71 loc) · 2.54 KB
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
# Travis Continuous Integration Configuration File
notifications:
email:
recipients:
- euslisp@jsk.t.u-tokyo.ac.jp
on_success: always #[always|never|change] # default: change
on_failure: always #[always|never|change] # default: always
slack: jsk-robotics:Av7tc8wj3IWkLYvlTzHE7x2g
matrix:
include:
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=ubuntu:trusty
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=ubuntu:xenial
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=osrf/ubuntu_armhf:trusty
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=osrf/ubuntu_armhf:xenial
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=osrf/ubuntu_arm64:trusty
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=osrf/ubuntu_arm64:xenial
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=debian:jessie
- os: linux
dist: trusty
sudo: required
cache: apt
env: DOCKER_IMAGE=osrf/debian_arm64:jessie
- os: osx
allow_failures:
- os: osx
before_install: # Use this to prepare the system to install prerequisites or dependencies
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
install:
# Define some config vars
- export CI_SOURCE_PATH=$(pwd)
- export REPOSITORY_NAME=${PWD##*/}
- if [[ "$DOCKER_IMAGE" == *"arm"* ]]; then sudo apt-get install -y -qq qemu-user-static git; fi
script:
- echo "Testing branch $TRAVIS_BRANCH of $REPOSITORY_NAME"
- if [[ "$DOCKER_IMAGE" == *"arm"* ]]; then COUNT=10; while [ $COUNT -gt 0 -a ! -e $CI_SOURCE_PATH/eus ] ; do echo $COUNT; sleep 1; GIT_SSL_NO_VERIFY=true git clone --depth 10 http://github.com/euslisp/EusLisp $CI_SOURCE_PATH/eus; COUNT=`expr $COUNT - 1`; done; fi # running git clone within arm VM is very slow
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then docker run --rm -i -v $CI_SOURCE_PATH:$CI_SOURCE_PATH -e "CI_SOURCE_PATH=$CI_SOURCE_PATH" -e "HOME=$HOME" -t $DOCKER_IMAGE sh -c "cd $CI_SOURCE_PATH; ./.travis.sh"; fi
# Test installing head version jskeus via Homebrew formula
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then source $CI_SOURCE_PATH/.travis-osx.sh; fi
after_success:
- (cd doc/; pdftotext jmanual.pdf; mv jmanual.txt jmanual.txt.old; make; pdftotext jmanual.pdf)
- (cd doc/; make html)
after_failure:
- echo "failure"