From 250b257b7f53df597632d6419ffa2503f96886c5 Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Thu, 8 Sep 2016 20:15:19 +0200 Subject: [PATCH] re-add travis, remove drone configs --- .drone.yml | 8 -------- .travis.yml | 32 ++++++++++++++++++++++++++++++++ ci/config.sh | 5 ----- ci/install-cmake.sh | 7 ------- ci/install-gcc.sh | 5 ----- 5 files changed, 32 insertions(+), 25 deletions(-) delete mode 100644 .drone.yml create mode 100644 .travis.yml delete mode 100755 ci/config.sh delete mode 100755 ci/install-cmake.sh delete mode 100755 ci/install-gcc.sh diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 4baf44b..0000000 --- a/.drone.yml +++ /dev/null @@ -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 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c0d3268 --- /dev/null +++ b/.travis.yml @@ -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 + diff --git a/ci/config.sh b/ci/config.sh deleted file mode 100755 index c6c414a..0000000 --- a/ci/config.sh +++ /dev/null @@ -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 .. diff --git a/ci/install-cmake.sh b/ci/install-cmake.sh deleted file mode 100755 index 6d83860..0000000 --- a/ci/install-cmake.sh +++ /dev/null @@ -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 diff --git a/ci/install-gcc.sh b/ci/install-gcc.sh deleted file mode 100755 index c147819..0000000 --- a/ci/install-gcc.sh +++ /dev/null @@ -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