diff options
author | David Sterba <dsterba@suse.com> | 2018-02-08 01:36:50 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-02-13 15:41:32 +0100 |
commit | ddfe4d7c30a667b0b434a648897dd990e591008b (patch) | |
tree | cb29303d1fd3edeabcdf417bcfc8d851ef8893f5 | |
parent | 3cfe67998a71256bd95f4b2942bd4b3481b550d5 (diff) |
btrfs-progs: ci: enable musl build tests in docker
Enable docker in travis and start build test(s) before our testsuite.
Now for musl libc, so we don't accidentally break the build anymore.
Issue: #29
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 3e6690a4..d5878dba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,9 @@ branches: - master - release-test +services: + - docker + env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created @@ -49,6 +52,7 @@ 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 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- + - docker pull kdave/ci-musl-x86_64 - "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; @@ -81,9 +85,13 @@ addons: branch_pattern: coverity_scan script: + # quick build tests + - "if travis/should-run-test; then docker run -it kdave/ci-musl-x86_64 ./test-build $TRAVIS_BRANCH --disable-documentation --disable-backtrace; fi" + # real tests - "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" + # long running tests - "if [ $TRAVIS_BRANCH = release-test ]; then make TEST_LOG=dump test-convert; fi" |