-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (29 loc) · 871 Bytes
/
.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
# Continuous integration: Travis CI
language: python 3.6
os: linux
dist: xenial
sudo: enabled
compiler:
- clang
before_install:
- sudo apt-get -qq update
# Configure git
- if [ ! `git config --get user.email` ]; then `git config --global user.email '[email protected]'`; fi
- if [ ! `git config --get user.name` ]; then `git config --global user.name 'Travis CI'`; fi
# Upgrade pip
- python -m pip install --upgrade pip
install:
# Install YARP
- sudo sh -c 'echo "deb http://www.icub.org/ubuntu xenial contrib/science" > /etc/apt/sources.list.d/icub.list'
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 57A5ACB6110576A6
- sudo apt-get update
- sudo apt-get install yarp
# Install dependencies
- pip install -r requirements.txt
before_script:
- cd programs
script:
- cd ..
after_success:
notifications:
email: true