encfs/.travis.yml
Jakob Unterwurzacher 6ed2001c2e travis ci: upgrade to trusty, use system cmake
On July 18, Travis upgraded their default build VM
to Ubuntu Trusty. Trusty has cmake 3.5.1, which allows us to
drop our bundled version.

We explicitely set "dist: trusty" to prevent our build jobs
from being routed to an older build VM.
2017-07-29 19:43:03 +02:00

53 lines
1.1 KiB
YAML

dist: trusty
language: cpp
sudo: true
compiler:
- clang
branches:
only:
- master
- coverity_scan
- travis
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8="
before_script:
- sudo modprobe fuse
- mkdir build
- cd build
- cmake --version
- cmake ..
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make && make check ; fi
addons:
coverity_scan:
project:
name: "vgough/encfs"
description: "Build submitted via Travis CI"
notification_email: vgough@pobox.com
build_command_prepend: "make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- attr
- clang
- fuse
- libfuse-dev
- gettext
- cmake3