re-add travis, remove drone configs

This commit is contained in:
Valient Gough 2016-09-08 20:15:19 +02:00
parent 84073f7d90
commit 250b257b7f
No known key found for this signature in database
GPG Key ID: B515DCEB95967051
5 changed files with 32 additions and 25 deletions

View File

@ -1,8 +0,0 @@
image: encfs_worker
script:
- sh devmode -DCMAKE_INSTALL_PREFIX:PATH=/tmp/encfs
- cd build
- make
- make test
- make install
- /tmp/encfs/bin/encfsctl --version

32
.travis.yml Normal file
View File

@ -0,0 +1,32 @@
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="
language: cpp
compiler:
- gcc
- clang
-before_install:
- sudo apt-get install -qq cmake libfuse-dev libgettextpo-dev
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
-script:
- sh devmode
- cd build
- make
- ./checkops
addons:
coverity_scan:
project:
name: "vgough/encfs"
description: "Build submitted via Travis CI"
notification_email: vgough@pobox.com
build_command_prepend: "cd build && make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan

View File

@ -1,5 +0,0 @@
set -x
set -e
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/encfs -DCMAKE_BUILD_TYPE=Debug -DMINIGLOG=ON ..

View File

@ -1,7 +0,0 @@
set -x
set -e
if [ ! -e ci/cmake/bin/cmake ]; then
wget http://www.cmake.org/files/v3.1/cmake-3.1.3-Linux-x86_64.tar.gz
tar -xzf cmake-3.1.3-Linux-x86_64.tar.gz
mv cmake-3.1.3-Linux-x86_64 ci/cmake
fi

View File

@ -1,5 +0,0 @@
set -x
set -e
sudo apt-get install -y gcc-4.8 g++-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 100