Skip to content

Commit

Permalink
Tune up .travis.yml
Browse files Browse the repository at this point in the history
- switch to Trusty as Precise doesn't have `libjson-c-dev` package
- set `sudo: false` and use APT addon for package management
  • Loading branch information
Vasiliy Solovey authored Apr 16, 2017
1 parent 0e72718 commit 671577c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
dist: trusty
sudo: false
language: c

compiler:
- gcc

install:
- sudo -E apt-add-repository -y ppa:linuxjedi/ppa
- sudo apt-get update || true
- sudo apt-get install build-essential
- sudo apt-get install libjson-c-dev libevent-dev
addons:
apt:
sources:
- sourceline: 'ppa:linuxjedi/ppa'
packages:
- build-essential
- libjson-c-dev
- libevent-dev

script:
- cmake .
Expand Down

0 comments on commit 671577c

Please sign in to comment.