Skip to content

Commit 87a6eec

Browse files
committed
Moves to the new Travis CI infrastructure.
Enable 'ccache' for caching 'gcc'.
1 parent f024940 commit 87a6eec

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

.travis.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@ language: c
33
compiler:
44
- gcc
55

6-
before_install:
7-
- sudo add-apt-repository --yes ppa:vala-team
8-
- sudo apt-get update --quiet
9-
- sudo apt-get install --yes --force-yes valac libglib2.0-bin libglib2.0-dev
10-
libsoup2.4-dev libgee-0.8-dev libfcgi-dev libctpl-dev python-pip
11-
- sudo pip install cpp-coveralls sphinx PyYAML
6+
cache: ccache
7+
8+
addons:
9+
apt:
10+
sources:
11+
- vala-team
12+
packages:
13+
- valac
14+
- libglib2.0-bin
15+
- libglib2.0-dev
16+
- libsoup2.4-dev
17+
- libgee-0.8-dev
18+
- libfcgi-dev
19+
- libctpl-dev
20+
- python-pip
21+
22+
install:
23+
- pip install --user cpp-coveralls sphinx PyYAML
1224

1325
before_script:
14-
- ./waf configure --enable-gcov --prefix=/usr
26+
- ./waf configure --enable-gcov
1527
- ./waf build
16-
- sudo ./waf install
1728

1829
script:
19-
- build/tests/tests
30+
- LD_LIBRARY_PATH=build build/tests/tests
2031
- sphinx-build docs build/docs
2132

2233
after_success:

0 commit comments

Comments
 (0)