Skip to content

Commit

Permalink
Merge pull request #15 from cloudbytestorage/opt_travis
Browse files Browse the repository at this point in the history
Reduce travis build time
  • Loading branch information
vishnuitta authored Dec 18, 2017
2 parents 6679aa3 + 28219a3 commit 1e1137a
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 160 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ script:
truncate -s 2G /tmp/ztest.2a;
truncate -s 256M /tmp/ztest.log;
travis_wait 60 ./tests/cbtest/gtest/test_uzfs && ./tests/cbtest/script/uzfs_cli.sh && ./cmd/uzfs_test/uzfs_test;
travis_wait 10 ./cmd/ztest/ztest;
else
travis_wait 100 /usr/share/zfs/zfs-tests.sh -v;
if [ $TRAVIS_BRANCH = "zfs-0.7-release" ]; then
travis_wait 100 /usr/share/zfs/zfs-tests.sh -r linux_cstor.run -v;
else
sudo /sbin/modprobe zfs;
travis_wait 10 /sbin/ztest;
fi
fi
after_failure:
- find /var/tmp/test_results/current/log -type f -name '*' -printf "%f\n" -exec cut -c -$ZFS_TEST_TRAVIS_LOG_MAX_LENGTH {} \;
Expand Down
Loading

0 comments on commit 1e1137a

Please sign in to comment.