summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 28 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 15313df4..50b3c1c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,8 @@ compiler:
- gcc
- clang
-cache: ccache
+cache:
+ ccache: true
git:
depth: 2
@@ -46,8 +47,28 @@ env:
before_install:
- sudo apt-get update -qq
- - sudo apt-get install -qq e2fslibs-dev gcc libacl1-dev libblkid-dev liblzo2-dev make pkg-config udev zlib1g-dev
+ - sudo apt-get install -qq e2fslibs-dev gcc libacl1-dev libblkid-dev liblzo2-dev make pkg-config udev zlib1g-dev acl attr reiserfsprogs
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
+ - "mkdir tmp-reiser;
+ cd tmp-reiser;
+ wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.27/reiserfsprogs-3.6.27.tar.xz;
+ tar xf reiserfsprogs-3.6.27.tar.xz;
+ cd reiserfsprogs-3.6.27;
+ ./configure --prefix=/usr;
+ make all;
+ sudo make install;
+ cd ../..
+ "
+ - "mkdir tmp-zstd;
+ cd tmp-zstd;
+ wget https://github.com/facebook/zstd/archive/v1.3.1.tar.gz;
+ tar xf v1.3.1.tar.gz;
+ cd zstd-1.3.1;
+ make;
+ sudo make install PREFIX=/usr;
+ cd ../..
+ "
+ - "./autogen.sh && ./configure --disable-documentation && make"
addons:
coverity_scan:
@@ -60,8 +81,8 @@ addons:
branch_pattern: coverity_scan
script:
- - "./autogen.sh && ./configure --disable-documentation && make"
- - "make TEST_LOG=dump test-cli"
- - "make TEST_LOG=dump test-mkfs"
- - "make TEST_LOG=dump test-check"
- - "make TEST_LOG=dump test-misc"
+ - "if ./travis-should-run-test; then make TEST_LOG=dump test-cli; fi"
+ - "if ./travis-should-run-test; then make TEST_LOG=dump test-mkfs; fi"
+ - "if ./travis-should-run-test; then make TEST_LOG=dump test-check; fi"
+ - "if ./travis-should-run-test; then make TEST_LOG=dump test-misc; fi"
+ - "if [ $TRAVIS_BRANCH = release-test ]; then make TEST_LOG=dump test-convert; fi"