re-format .travis.yml

no sudo required to gem install
This commit is contained in:
Steffen Jaeckel 2017-05-11 16:32:03 +02:00
parent 56283c947a
commit 90d5fe5bdb

View File

@ -1,8 +1,28 @@
language: c language: c
addons:
apt:
sources:
- debian-sid
packages:
- binutils
- libtommath-dev
before_script:
- gem install coveralls-lcov
matrix:
fast_finish: true
branches:
only:
- develop
compiler: compiler:
- gcc - gcc
- clang - clang
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile V=1" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/x86_64-linux-gnu/libtommath.a" script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile V=1" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/x86_64-linux-gnu/libtommath.a"
env: env:
- | - |
BUILDSCRIPT="check_source.sh" BUILDSCRIPT="check_source.sh"
@ -76,26 +96,14 @@ env:
BUILDSCRIPT="testbuild.sh" BUILDSCRIPT="testbuild.sh"
BUILDNAME="NOFILE" BUILDNAME="NOFILE"
BUILDOPTIONS="-DLTC_NO_FILE" BUILDOPTIONS="-DLTC_NO_FILE"
matrix:
fast_finish: true
branches:
only:
- develop
addons:
apt:
sources:
- debian-sid
packages:
- binutils
- libtommath-dev
before_script:
- sudo apt-get update -qq
- sudo gem install coveralls-lcov
after_failure: after_failure:
- cat test_std.txt - cat test_std.txt
- cat test_err.txt - cat test_err.txt
after_script: after_script:
- cat gcc_1.txt - cat gcc_1.txt
- cat gcc_2.txt - cat gcc_2.txt
notifications: notifications:
irc: "chat.freenode.net#libtom-notifications" irc: "chat.freenode.net#libtom-notifications"