80 Commits

Author SHA1 Message Date
Brian Smith
b64f347424 Revert "Enable Kcov on macOS builds."
This reverts commit 8f8b74e2c84cf406f941e28c40710f59f776bece due to
frequent build breakage on Travis CI for macOS debug builds.
2019-01-31 08:44:21 -10:00
Pietro Monteiro
8f8b74e2c8 Enable Kcov on macOS builds.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2019-01-30 23:15:35 -10:00
Pietro Monteiro
49ec4809b6 Build Android targeting API 26 and test with API 24 system image.
Testing with API 24 images because there are no API 26 ARM images available.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2019-01-30 16:42:31 -10:00
Pietro Monteiro
0f246702f1 Re-enable and update Kcov.
Run on Rust stable.
Install C++ compiler and other Kcov dependencies.
Don't install sources and packages that are not needed.
Update Kcov to the latest version.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2019-01-19 17:15:50 -10:00
Pietro Monteiro
59b550c074 Travis CI changed its defaults to sudo enabled Ubuntu Trusty.
Removed unnecessary `sudo` entries.
Make `distro` explicit in case we want to mix Linux build environments.
Adjust compiler packages to the correct defaults.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2019-01-19 17:15:42 -10:00
Brian Smith
81d5662da6 Start running kcov in CI again.
Restrict code coverage to X86_64 for now.

We need to investigate the build faliures for 32-bit x86 before we can
enable it for that architecture.
2019-01-18 15:38:29 -10:00
Brian Smith
c5fdcacc45 Use osx_image: xcode10.1 in Travis CI for macOS. 2018-12-15 18:10:05 -10:00
Brian Smith
67425b7463 Enable RSA signign by default; remove rsa_signing feature. 2018-12-12 20:09:46 -10:00
Brian Smith
1670080572 Upgrade Travis CI toolchains: Clang 5.0, GCC 7, xcode 9.3. 2018-05-18 13:41:14 -10:00
Pierre Krieger
22a5605417 Try upgrade the NDK version 2018-05-18 08:21:27 -10:00
Brian Smith
eee3a2fb12 Drop C++ stuff from Travis CI.
There is no C++ code in *ring* any more.
2018-05-17 11:33:13 -10:00
Brian Smith
f1541156b2 Use XCode 9.2 on Travis CI for macOS builds. 2017-12-23 12:19:42 -10:00
Brian Smith
67c526b532 Revert "Don't install unnecessary packages on Travis CI Android builds."
This reverts commit 52c645b7a006d3cecba50871ec42ce2109daab78.
2017-06-12 11:15:58 -10:00
Brian Smith
c822406036 Revert "Cache Android NDK, tools and platform tools on Travis CI."
This reverts commit b7073f4177cf87859b1d45950c5afca9f0b16ced.
2017-06-12 11:03:35 -10:00
Brian Smith
b78b536285 Revert "Add AArch64 to Travis CI builds."
This reverts commit cd011b39e3a9e75885473a2b51661e41e2c9974f.
2017-06-12 11:03:33 -10:00
Brian Smith
d7dba4b88c Revert "Use travis_wait on all Android release builds on Travis CI."
This reverts commit ffe7e973b76a15cab783802f8d3c98992b8233d7.
2017-06-12 11:03:31 -10:00
Pietro Monteiro
ffe7e973b7 Use travis_wait on all Android release builds on Travis CI. 2017-06-08 10:12:59 -10:00
Pietro Monteiro
cd011b39e3 Add AArch64 to Travis CI builds. 2017-06-08 10:12:59 -10:00
Pietro Monteiro
b7073f4177 Cache Android NDK, tools and platform tools on Travis CI. 2017-06-08 10:12:58 -10:00
Pietro Monteiro
52c645b7a0 Don't install unnecessary packages on Travis CI Android builds. 2017-06-08 10:12:58 -10:00
Pietro Monteiro
d048e1e818 Use armv7 for android build on travis.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-03-19 09:38:26 -10:00
Brian Smith
63691d4245 Revert "Use clang on android."
This reverts commit de8a1636a13f45aaff159ebf041c08e46fb16fd1 because
switching to clang broke something.
2017-03-14 09:36:15 -10:00
Pietro Monteiro
7a20a09745 Use travis_wait only on ARM release builds. 2017-03-13 09:31:36 -10:00
Pietro Monteiro
de8a1636a1 Use clang on android.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-03-09 08:51:08 -08:00
Brian Smith
e7c305992e For default compiler tests on Travis CI, don't set CC and CXX.
Most people probably aren't setting CC and CXX when building for
Linux unless they're using a non-default compiler. Do similar on
Travis CI to be more consistent with typical use.
2017-03-04 11:48:59 -10:00
Brian Smith
b72c3f2671 Use default compiler on macOS on Travis CI instead of setting CC & CXX.
Most people probably aren't setting `CC` and `CXX` when building on MacOS,
so don't set those variables on Travis CI, to be more like typical use.
2017-03-04 11:47:51 -10:00
Brian Smith
4456eba269 Revert "Invoke clang using "cc" and "c++" on macOS on Travis CI."
This reverts commit ff0087a9b67a6eb6cc8496d50735fcc965199486.
2017-02-15 23:54:02 -10:00
Brian Smith
3f1d2cb3db Build with Clang 3.9 instead of 3.8 on Travis CI. 2017-02-15 23:02:36 -10:00
Brian Smith
ff0087a9b6 Invoke clang using "cc" and "c++" on macOS on Travis CI. 2017-02-15 17:15:53 -10:00
Brian Smith
3bef002b43 Use xcode 8.2 on Travis CI. 2016-12-22 13:08:02 -10:00
Brian Smith
94d9d791de Linux: Actually enable Clang 3.8.
The previous commit only updated mk/update-travis-yml.py.
2016-08-16 14:16:46 -10:00
Brian Smith
6c224a6a73 Use Xcode 7.3 in Travis CI. 2016-07-06 09:31:55 -10:00
Brian Smith
224c1e02e5 Auto-generate Travis CI targets for ARM and AAarch64. 2016-07-03 08:35:26 -10:00
Brian Smith
abfb6c9470 Require the rsa_signing feature for RSA signing. 2016-07-03 08:35:25 -10:00
Brian Smith
7f4f5d16e0 Add GCC 6 to Travis CI. 2016-06-15 09:19:57 -10:00
Brian Smith
0761a02383 On Travis CI, allow failures on Rust Nightly.
It is frequently the case that builds using Rust Nightly fail
because the version of libstd we're downloading was compiled with a
different version of rustc than what we're using to build *ring*
during the run. I have no idea why this is so problematic, or why it
seems worse lately, so just wallpaper around it for now.
2016-06-02 09:00:33 -10:00
Brian Smith
b6331570d0 Disable Clang builds on Travis CI.
The LLVM project has disabled the APT servers that are used to source
clang, so clang builds won't succeed.
2016-06-02 00:54:32 -10:00
Brian Smith
83219e8208 Stop allowing Rust Stable Aarch64/ARM builds to fail on Travis CI.
It seems we've fixed all the root issues for these targets, so they
should be in as good of shape as other targets, at least with respect
to stability.
2016-05-27 14:24:44 -10:00
Brian Smith
0eadaf6114 Also wait longer for Aarch64 builds during Travis CI.
Some RELWITHDEBINFO AAarch64 builds will time out due to the slow
SHA-1 tests without this.
2016-05-27 14:23:53 -10:00
Brian Smith
097ed04776 On Travis CI, allow failures for RELWITHDEBINFO * AAarch64 * Rust Stable. 2016-05-23 11:20:42 -10:00
Brian Smith
157dd0160d Allow failures only on Rust Stable + DEBUG builds ARM/Aarch64 builds. 2016-05-19 17:44:36 -10:00
Pietro Monteiro
72616bbf05 Build and test on ARM Android.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-05-19 17:11:32 -10:00
Brian Smith
a3d5424a78 Travis CI: AAarch64 builds don't fail except Rust Stable + DEBUG.
The other AAarch64 builds seem to be passing regularly.
2016-05-19 10:14:21 -10:00
Pietro Monteiro
37892c5258 Improve ARM configuration on Travis CI.
Use ubuntu's gcc packages for 32 and 64-bit ARM. Use hard-float on
32-bit ARM. Use travis_wait on slow arm tests.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-05-12 15:46:00 -10:00
Brian Smith
4421e7c552 Reduce tested versions of GCC and Clang.
Travis CI runs just take way too long with this huge matrix, so prune
it to something more manageable.
2016-05-06 17:17:58 -10:00
Brian Smith
63b10be8e3 Eliminate duplication of QEMU install on Travis CI. 2016-05-06 17:11:30 -10:00
Pietro Monteiro
1a1f458e3b Cache kcov after installing it to speed up coverage builds. 2016-05-06 16:51:00 -10:00
Pietro Monteiro
a06c704df3 Run mk/update-travis-yml.py to stop running kcov twice.
The script wasn't run when the script was updated in
7e2aa420d65b1e586572d8c94012ebad4b3bb035.
2016-05-06 16:50:06 -10:00
Pietro Monteiro
043dfef73f Allow ARM tests to fail on Travis CI. 2016-05-06 16:46:40 -10:00
Pietro Monteiro
f59aa7d7a9 Use Ubuntu Trusty to run ARM tests on backported QEMU 2.5. 2016-05-06 16:46:33 -10:00