1dist: bionic 2 3language: c 4 5notifications: 6 - email: true 7 8before_script: 9 - sudo apt-get install linux-headers-$(uname -r) 10 - git clone --branch=exfat-next https://github.com/namjaejeon/exfat_oot 11 - ./.travis_get_mainline_kernel 12 - export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH 13 - export PATH=/usr/local/lib:$PATH 14 15script: 16 # run checkpatch.pl 17 - git format-patch -20 18 - ./linux/scripts/checkpatch.pl *.patch || true 19 # build & install exfatprogs 20 - ./autogen.sh > /dev/null 21 - ./configure > /dev/null 22 - make -j$((`nproc`+1)) > /dev/null 23 - sudo make install > /dev/null 24 - cd exfat_oot 25 - make > /dev/null 26 - sudo make install > /dev/null 27 - sudo modprobe exfat 28 - sudo mkdir -p /mnt/test 29 # create file/director test 30 - truncate -s 10G test.img 31 - sudo losetup /dev/loop22 test.img 32 - sudo mkfs.exfat /dev/loop22 33 - sudo mount -t exfat /dev/loop22 /mnt/test/ 34 - cd /mnt/test/ 35 - i=1;while [ $i -le 10000 ];do sudo touch file$i;if [ $? != 0 ]; then exit 1; fi; i=$(($i + 1));done 36 - sync 37 - sudo rm -rf * 38 - i=1;while [ $i -le 10000 ];do sudo mkdir dir$i;if [ $? != 0 ]; then exit 1; fi; i=$(($i + 1));done 39 - sync 40 - sudo rm -rf * 41 - i=1;while [ $i -le 10000 ];do sudo touch file$i;if [ $? != 0 ]; then exit 1; fi; i=$(($i + 1));done 42 - i=1;while [ $i -le 10000 ];do sudo mkdir dir$i;if [ $? != 0 ]; then exit 1; fi; i=$(($i + 1));done 43 - sync 44 - sudo fsck.exfat /dev/loop22 45 - sudo find . -delete 46 - sudo fsck.exfat /dev/loop22 47 - cd - 48