btrfs-progs: ci: add dockerfile for a musl build test
[platform/upstream/btrfs-progs.git] / .travis.yml
index 2aa44bd..3e6690a 100644 (file)
@@ -27,7 +27,7 @@ cache:
   ccache: true
 
 git:
-  depth: 2
+  depth: 1
 
 dist: trusty
 group: unstable
@@ -59,6 +59,15 @@ before_install:
      sudo make install;
      cd ../..
     "
+  - "mkdir tmp-zstd;
+     cd tmp-zstd;
+     wget https://github.com/facebook/zstd/archive/v1.3.3.tar.gz;
+     tar xf v1.3.3.tar.gz;
+     cd zstd-1.3.3;
+     make;
+     sudo make install PREFIX=/usr;
+     cd ../..
+    "
   - "./autogen.sh && ./configure --disable-documentation && make"
 
 addons:
@@ -72,8 +81,9 @@ addons:
     branch_pattern: coverity_scan
 
 script:
-  - "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/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_ENABLE_OVERRIDE=true TEST_ARGS_CHECK=--mode=lowmem 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"