Skip to content

Commit

Permalink
Moves to the new Travis CI infrastructure.
Browse files Browse the repository at this point in the history
Enable 'ccache' for caching 'gcc'.
  • Loading branch information
arteymix committed Feb 7, 2016
1 parent f024940 commit 87a6eec
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,31 @@ language: c
compiler:
- gcc

before_install:
- sudo add-apt-repository --yes ppa:vala-team
- sudo apt-get update --quiet
- sudo apt-get install --yes --force-yes valac libglib2.0-bin libglib2.0-dev
libsoup2.4-dev libgee-0.8-dev libfcgi-dev libctpl-dev python-pip
- sudo pip install cpp-coveralls sphinx PyYAML
cache: ccache

addons:
apt:
sources:
- vala-team
packages:
- valac
- libglib2.0-bin
- libglib2.0-dev
- libsoup2.4-dev
- libgee-0.8-dev
- libfcgi-dev
- libctpl-dev
- python-pip

install:
- pip install --user cpp-coveralls sphinx PyYAML

before_script:
- ./waf configure --enable-gcov --prefix=/usr
- ./waf configure --enable-gcov
- ./waf build
- sudo ./waf install

script:
- build/tests/tests
- LD_LIBRARY_PATH=build build/tests/tests
- sphinx-build docs build/docs

after_success:
Expand Down

0 comments on commit 87a6eec

Please sign in to comment.