kernel_fpu fixes
[zfs.git] / .travis.yml
blob620c0432e23dcefa07472b6378b6bc4e06d0a7a5
1 language: c
2 sudo: required
3 env:
4   global:
5     # Travis limits maximum log size, we have to cut tests output 
6     - ZFS_TEST_TRAVIS_LOG_MAX_LENGTH=800
7   matrix:
8     # tags are mainly in ascending order
9     - ZFS_TEST_TAGS='acl,atime,bootfs,cachefile,casenorm,chattr,checksum,clean_mirror,compression,ctime,delegate,devices,events,exec,fault,features,grow_pool,zdb,zfs,zfs_bookmark,zfs_change-key,zfs_clone,zfs_copies,zfs_create,zfs_diff,zfs_get,zfs_inherit,zfs_load-key,zfs_rename'
10     - ZFS_TEST_TAGS='cache,history,hkdf,inuse,zfs_property,zfs_receive,zfs_reservation,zfs_send,zfs_set,zfs_share,zfs_snapshot,zfs_unload-key,zfs_unmount,zfs_unshare,zfs_upgrade,zpool,zpool_add,zpool_attach,zpool_clear,zpool_create,zpool_destroy,zpool_detach'
11     - ZFS_TEST_TAGS='grow_replicas,mv_files,cli_user,zfs_mount,zfs_promote,zfs_rollback,zpool_events,zpool_expand,zpool_export,zpool_get,zpool_history,zpool_import,zpool_labelclear,zpool_offline,zpool_online,zpool_remove,zpool_reopen,zpool_replace,zpool_scrub,zpool_set,zpool_status,zpool_sync,zpool_upgrade'
12     - ZFS_TEST_TAGS='zfs_destroy,large_files,largest_pool,link_count,migration,mmap,mmp,mount,nestedfs,no_space,nopwrite,online_offline,pool_names,poolversion,privilege,quota,raidz,redundancy,rsend'
13     - ZFS_TEST_TAGS='inheritance,refquota,refreserv,rename_dirs,replacement,reservation,rootpool,scrub_mirror,slog,snapshot,snapused,sparse,threadsappend,tmpfile,truncate,upgrade,userquota,vdev_zaps,write_dirs,xattr,zvol,libzfs'
14 before_install:
15     - sudo apt-get -qq update
16     - sudo apt-get install --yes -qq build-essential autoconf libtool gawk alien fakeroot linux-headers-$(uname -r)
17     - sudo apt-get install --yes -qq zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev
18     # packages for tests
19     - sudo apt-get install --yes -qq parted lsscsi ksh attr acl nfs-kernel-server fio
20 install:
21     - git clone --depth=1 https://github.com/zfsonlinux/spl
22     - cd spl
23     - git checkout master
24     - sh autogen.sh
25     - ./configure
26     - make --no-print-directory -s pkg-utils pkg-kmod
27     - sudo dpkg -i *.deb
28     - cd ..
29     - sh autogen.sh
30     - ./configure
31     - make --no-print-directory -s pkg-utils pkg-kmod
32     - sudo dpkg -i *.deb
33 script:
34     - travis_wait 50 /usr/share/zfs/zfs-tests.sh -v -T $ZFS_TEST_TAGS
35 after_failure:
36     - find /var/tmp/test_results/current/log -type f -name '*' -printf "%f\n" -exec cut -c -$ZFS_TEST_TRAVIS_LOG_MAX_LENGTH {} \;
37 after_success:
38     - find /var/tmp/test_results/current/log -type f -name '*' -printf "%f\n" -exec cut -c -$ZFS_TEST_TRAVIS_LOG_MAX_LENGTH {} \;