forked from RoboJackets/robocup-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (18 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
language: cpp
compiler: clang
submodules: false
before_install:
# we have to get the games PPA so we can install libbullet-dev
- wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
- sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu raring-getdeb games" >> /etc/apt/sources.list.d/getdeb.list'
# we use boost python 3.3, but ubuntu12.04 (which travis uses as of now) has an older version
# we get around this by using 'apt-pinning' to get this package from a newer ubuntu repo
# see this link for more info: http://askubuntu.com/questions/103320/install-packages-from-newer-release-without-building-apt-pinning
- sudo sh -c 'echo "Package: libboost*\\nPin: release n=saucy\\nPin-Priority: 990\\n" >> /etc/apt/preferences.d/robocup.pref'
- sudo sh -c 'echo "Package: python*\\nPin: release n=saucy\\nPin-Priority: 990\\n" >> /etc/apt/preferences.d/robocup.pref'
- sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu saucy main" > /etc/apt/sources.list.d/saucy.list'
- sudo apt-get update
- sudo ./util/ubuntu-setup
script: scons && scons test
notifications:
email: true