diff options
-rw-r--r-- | .travis.yml | 12 | ||||
-rwxr-xr-x | scripts/travis_run.sh | 3 |
2 files changed, 7 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index bd8b122..ea2c7de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,16 @@ language: c compiler: clang -script: ./scripts/travis_run.sh + +script: + - cmake -g 'Unix Makefiles' . + - make + install: - sudo apt-get update -qq - sudo apt-get install -y libx11-dev libimlib2-dev libbsd-dev 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: "Hf1xjFClKIhsv4o4HqAs8pAqKdauJ3TItMH1uqc0qaPRmh0bFhNs0pwwjhmMjnLrbRrRcnfjwEyuXz3wZysiegSedm/tE0NyMFQql+rjgicmTQj73BMzrIDadQ8jMNaeD44YVDlFknv0ren9/LmSFzYLuI8zjAtIyeKxN++IujE=" addons: @@ -17,6 +19,6 @@ addons: name: "kyrias/yawa" description: "Build submitted via Travis CI" notification_email: johannes@kyriasis.com - build_command_prepend: "cmake -g 'Unix Makefiles'; make clean" - build_command: "make -j 4" + build_command_prepend: cmake -g 'Unix Makefiles' + build_command: make branch_pattern: coverity_scan diff --git a/scripts/travis_run.sh b/scripts/travis_run.sh deleted file mode 100755 index ef9c7b0..0000000 --- a/scripts/travis_run.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh -cmake -g 'Unix Makefiles' . -make |