-
Notifications
You must be signed in to change notification settings - Fork 178
Switch Travis to use Ubuntu 16.04 "xenial", and other CI tweaks #2759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
7a5f803
travis: use `set -e` in script and after_script
fingolfin 17a64fb
travis: don't add --enable-Werror *again*
fingolfin eb0f7ff
travis: no --coverage for testpackages
fingolfin 8386a08
travis: switch distribution from trusty to xenial
fingolfin 0d23c34
ci: various tweaks
fingolfin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,14 +1,13 @@ | ||||||
| # We want Ubuntu 14.04 "Trust" instead of 12.04 "Precise" to get newer | ||||||
| # and less buggy gcov | ||||||
| dist: trusty | ||||||
| # Force Ubuntu 16.04 "Xenial" to get newer GCC, binutils etc. | ||||||
| dist: xenial | ||||||
| language: c | ||||||
|
|
||||||
| env: | ||||||
| global: | ||||||
| - CFLAGS="--coverage -O2" | ||||||
| - LDFLAGS="--coverage" | ||||||
| # default config flags: enable debug asserts, and treat compiler warnings as errors | ||||||
| - CONFIGFLAGS="--enable-debug --enable-Werror" | ||||||
| # default config flags: enable debug asserts | ||||||
| - CONFIGFLAGS="--enable-debug" | ||||||
|
|
||||||
| addons: | ||||||
| apt_packages: | ||||||
|
|
@@ -22,7 +21,7 @@ matrix: | |||||
| # the same in 32 bit mode, and with debugging turned off, to (a) make it | ||||||
| # a lot faster, and (b) to make sure nobody accidentally put some vital | ||||||
| # computing into code that is only run when debugging is on. | ||||||
| - env: TEST_SUITES="docomp testtravis" ABI=32 CONFIGFLAGS="--enable-Werror" | ||||||
| - env: TEST_SUITES="docomp testtravis" ABI=32 CONFIGFLAGS="" | ||||||
| addons: | ||||||
| apt_packages: | ||||||
| - gcc-multilib | ||||||
|
|
@@ -31,7 +30,11 @@ matrix: | |||||
| - libreadline-dev:i386 | ||||||
|
|
||||||
| # compiler packages and run package tests | ||||||
| - env: TEST_SUITES=testpackages | ||||||
| # don't use --coverage in CFLAGS, it causes the weird `atexit` bug in | ||||||
| # digraphs and other kernel extensions using C++ code (due to GCC's | ||||||
| # `profiler_trace.h` calling `atexit`; but that fails in loadable modules | ||||||
| # for technical reasons) | ||||||
| - env: TEST_SUITES=testpackages CFLAGS="-O2" LDFLAGS= | ||||||
| addons: | ||||||
| apt_packages: | ||||||
| - gcc-multilib | ||||||
|
|
@@ -41,13 +44,13 @@ matrix: | |||||
| - libreadline-dev | ||||||
| - libboost-dev # for NormalizInterface | ||||||
| - libmpfr-dev # for float | ||||||
| - libmpfi-dev # for float | ||||||
| - libmpfi0-dev # for float | ||||||
| - libmpc-dev # for float | ||||||
| #- libfplll-dev # for float | ||||||
| - pari-gp # for alnuth | ||||||
| - libzmq3-dev # for ZeroMQInterface | ||||||
|
|
||||||
| - env: TEST_SUITES=testpackages ABI=32 | ||||||
| - env: TEST_SUITES=testpackages CFLAGS="-O2" LDFLAGS= ABI=32 | ||||||
| addons: | ||||||
| apt_packages: | ||||||
| - gcc-multilib | ||||||
|
|
@@ -58,7 +61,7 @@ matrix: | |||||
| - libcurl4-openssl-dev:i386 # for curlInterface | ||||||
| - libboost-dev:i386 # for NormalizInterface | ||||||
| - libmpfr-dev:i386 # for float | ||||||
| - libmpfi-dev:i386 # for float | ||||||
| - libmpfi0-dev:i386 # for float | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| - libmpc-dev:i386 # for float | ||||||
| #- libfplll-dev:i386 # for float | ||||||
| - pari-gp:i386 # for alnuth | ||||||
|
|
@@ -95,7 +98,7 @@ matrix: | |||||
| - env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=64 BUILDDIR=build | ||||||
| # for 32bit mode, also turn off debugging (see elsewhere in this file for | ||||||
| # an explanation) | ||||||
| - env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=32 BUILDDIR=build CONFIGFLAGS="--enable-Werror" | ||||||
| - env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=32 BUILDDIR=build CONFIGFLAGS="" | ||||||
| addons: | ||||||
| apt_packages: | ||||||
| - gcc-multilib | ||||||
|
|
@@ -116,10 +119,13 @@ matrix: | |||||
| - env: TEST_SUITES="testlibgap" | ||||||
|
|
||||||
| script: | ||||||
| - set -e | ||||||
| - gcov --version | ||||||
| - bash etc/ci-prepare.sh && bash etc/ci.sh | ||||||
| - bash etc/ci-prepare.sh | ||||||
| - bash etc/ci.sh | ||||||
|
|
||||||
| after_script: | ||||||
| - set -e | ||||||
| - bash etc/ci-gather-coverage.sh | ||||||
| - bash <(curl -s https://codecov.io/bash) | ||||||
|
|
||||||
|
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.