Commit Graph

125 Commits

Author SHA1 Message Date
Ivan Kochurkin 925c0a6b8b Fix CI scripts; use dotnet everywhere for testing; remove before-install-linux-csharp.sh, run-tests-csharp.sh 2020-12-28 16:17:00 +03:00
Felix Nieuwenhuizen 99c3589742 upgrade to java 11 2020-12-01 06:41:08 +01:00
Felix Nieuwenhuizen 517f8ab90d travis: upgrade c++ build to focal & llvm 10 2020-11-30 20:33:56 +01:00
Eric Vergnaud 7143fed700 reenable all targets 2020-10-04 13:19:21 +08:00
Eric Vergnaud 5c8ff2e5b1 restore 40mn timeout 2020-10-04 11:28:40 +08:00
Eric Vergnaud 263eb29a82 run npm install and link once before tests 2020-10-04 11:23:54 +08:00
Eric Vergnaud 7068d1bb0d accelerate failure temporarily 2020-10-04 11:19:08 +08:00
Eric Vergnaud c35b258c59 more feedback 2020-10-04 10:09:24 +08:00
Camilo Roca 32f4f04f85 re-activate other tests 2020-10-03 22:08:44 +02:00
Camilo Roca 758536d581 try with plain nvm 2020-10-03 21:34:25 +02:00
Camilo Roca 3514946c63 try with language 2020-10-03 21:26:57 +02:00
Camilo Roca b820636626 try with node 14 2020-10-03 21:13:33 +02:00
Camilo Roca 0df90f17bd only js 2020-10-03 20:58:48 +02:00
Eric Vergnaud 0536e72504 try fix travis 2020-10-04 00:42:34 +08:00
Eric Vergnaud 292811ce81 try fix travis 2020-10-04 00:19:54 +08:00
Larry Li d47db45180 fix travis ci for pinned dart sdk version 2020-08-19 12:31:02 +10:00
Larry Li 1eb6c3ee52 pin dart version to 2.8.4 2020-08-19 07:16:58 +10:00
Larry Li c43965ff03 fix travis.yml format 2020-01-19 18:30:39 +11:00
Larry Li 46bd9e5569 add dart target 2020-01-19 18:22:06 +11:00
parrt fa499e4215 update travis to python 3.7 2020-01-18 11:09:23 -08:00
Ewan Mellor 509eeefa4a
[Swift] Migrate Swift runtime to Swift 5.
This switches from using the deprecated hashValue to hash(into:).
It also switches from using index to firstIndex (matching the change in
the standard library).

In the test template, we switch to using String directly instead of
String.characters.

This also switches all the Travis macOS tests to use the Xcode 10.2 / Mojave
image and changes the Linux Swift tests to download Swift 5.0.1.
2019-11-18 13:24:28 -08:00
Marcos Passos 789d746636 PHP Target 2019-09-14 09:39:58 -03:00
Eric Vergnaud 71a6922776 jdk7 builds on trusty, move it back to extended tests 2019-07-14 15:11:36 +08:00
Eric Vergnaud 21069fb2c6 try using trusty for jdk7 2019-07-14 15:05:21 +08:00
Eric Vergnaud 9830f156d7 replace hidden tab in travis yml 2019-07-14 13:05:14 +08:00
Eric Vergnaud 69cc73d345 use trusty for cpp 2019-07-14 12:52:35 +08:00
Eric Vergnaud 264495b404 Revert "restore dotnet as part of main test"
This reverts commit 11a70d56cf.
2019-07-14 11:17:57 +08:00
Eric Vergnaud 11a70d56cf restore dotnet as part of main test 2019-07-14 11:17:23 +08:00
Eric Vergnaud 9b32885e21 only use openjdk7 for java extended test, use openjdk8 for all others 2019-07-14 11:05:46 +08:00
Eric Vergnaud eac9b0b0ef drop EOL's oraclejdk8 in favor of openjdk8 2019-07-14 10:57:03 +08:00
Ewan Mellor c2d69af6db
Write any dumpstream files into the Travis logs.
This means that we will see the errors if Surefire is bailing for any
reason.
2018-11-15 15:33:10 -08:00
Ewan Mellor 23bc423259
Move Travis tests to Swift 4.2 and Xcode 10.1.
Move Travis Swift, .NET, and C++ macOS tests from Xcode 9 to Xcode 10.1.
Move Travis Linux Swift tests from Trusty to Xenial and to Swift 4.2.1.

Remove the dirname call when setting JAVA_HOME, it seems to be incorrect.
Print the JAVA_HOME that Travis ends up with.

Moving to Xcode 10.1 / Swift 4.2 exposes the issue discussed in #2372
so this cset will fail automated tests without the relevant fixes.
2018-11-15 11:25:37 -08:00
parrt 1eca79ec3a update python from 3.5 to 3.6 2018-11-07 12:39:30 -08:00
Eric Vergnaud b594b24b15 csharp target builds faster so use it for main test 2018-01-01 14:43:29 +08:00
Eric Vergnaud bfd5e5d818 more python 2 to main test stage since it’s a standalone target 2018-01-01 14:33:38 +08:00
Terence Parr 5809f71d0e
Merge pull request #2091 from ewanmellor/travis-cache-dotnet-osx
Add Travis-side caching of the dotnet package that we download from Microsoft
2017-11-04 10:50:00 -07:00
Ewan Mellor 026c6736dc
Add Travis-side caching of the dotnet package that we download from Microsoft.
This avoids hitting the Microsoft server every time.  The download isn't
super-reliable, so this should help with build reliability.

This extends the cache timeout, because the package is large and the
upload was timing out.
2017-10-28 14:32:33 -07:00
Ewan Mellor 6b504fee43
Remove ~/.m2/repository/org/antlr from the Travis cache.
Caching ~/.m2 is useful; caching org/antlr inside there is not.  It causes
unnecessary re-submission of the cache every build.
2017-10-28 14:26:34 -07:00
Ewan Mellor 897b4339a3
Switch the Linux Swift tests to Trusty and Swift 4.0.
This uses Travis's new(ish) Ubuntu Trusty image, and changes the
version number of the Swift binaries that we download.

We now install clang-3.6.  This is not the default on Trusty, but
it's required by the Swift 4.0 toolchain.

This also removes the lines to upgrade libicu-dev and sqlite3.  These
are sufficiently up-to-date in the Trusty image.
2017-10-20 10:12:47 -07:00
Ewan Mellor cfb0041328
Switch all the macOS Travis jobs to use the Xcode 9 image.
We require Xcode 9 for the Swift target, and the C++ and .NET tests
shouldn't care either way.

We no longer need to install cmake: this is already in the Travis
Xcode 9.0 image (and it barfs if we try to install it again).

We no longer need the rvm bug workarounds; a newer version of rvm is
in the Xcode 9.0 image so this is no longer a problem.

The openssl package is already installed and up-to-date now, so there is
no need to install that.

These changes mean that we don't need before-install-osx-cpp.sh
or before-install-os-swift.sh at all, and before-install-osx-dotnet.sh
gets a bit shorter.  .travis.yml gets a small change to handle the
fact that some platform / target combos don't need before-install any more.
2017-10-20 10:12:47 -07:00
Ewan Mellor 7df0c2f478
Split the C++ tests into three groups.
Running these as a single test still intermittently times out after 40
minutes, even with the other recent csets.
2017-10-20 00:30:53 -07:00
Ewan Mellor 5f28a5b313
Split Travis tests into three phases.
This gives a "smoke-test" phase which just runs the Java tests, to get a
quick check that compilation is working.  It is followed by the
"main-test" phase that tests each target on their preferred platform
(e.g. Swift on macOS, Python on Linux) followed by "test-extended"
which runs all the remaining tests (all the other Java variants, and
any other platforms supported by each target).

This means that those tests in the later phases won't run unless the
earlier phases have passed.  This should vastly improve our Travis
turnaround.

This changeset also changes the matrix so that we get some coverage across
all of openjdk7,8 and oraclejdk7,8 and moves the Go and Javascript tests
to Trusty just so that they are more up-to-date.  This adds one additional
Java test run, so now we compare oraclejdk8 and openjdk8 in case of
problems in that regard.

Note that the test matrix has not been extended to cover oraclejdk9.  This
currently fails for us with a build issue, so it is not included in this
changeset.

This changeset also removes the meaningless custom apt configuration in the
section for macOS .NET tests.
2017-10-13 20:14:10 -07:00
Ewan Mellor 7bd52e5518
Wrap the run-tests-$TARGET.sh with a travis_wait call.
This means that it will write a line to the log each minute while the
tests are running, up to the specified timeout.  This works around the
fact that one of Maven / Surefire / JUnit are buffering our test output
until a whole test class has run.

This is a problem in particular with the TestLeftRecursion tests because
they are taking over 9 minutes on their own.  After 10 minutes of silence
Travis assumes that a job is broken and kills it.  We've been hitting
that timeout regularly.
2017-10-13 20:14:08 -07:00
Ewan Mellor 242dbe095d
Add cache entries to .travis.yml.
This is recommended by the Travis docs to speed up the parts of the
tests where unpack / install has a significant cost, as opposed to the
download.

This changeset adds entries for ~/.m2 (for Maven) and
~/Library/Caches/Homebrew for (brew on macOS).
2017-10-13 20:13:24 -07:00
Terence Parr 7d2a0978b5 Merge branch 'master' into fix-unicode-2031 2017-10-12 09:38:16 -07:00
Eric Vergnaud 6d337f9cce seems jdk7 is no longer supported 2017-09-30 17:20:35 +08:00
Ewan Mellor d95fb2ec46
Replace oraclejdk7 with openjdk7 in .travis.yml.
Oracle JDK 7 support has been withdrawn.

https://github.com/travis-ci/travis-ci/issues/7964
http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html
2017-09-28 15:48:25 -07:00
Eric Vergnaud c15aa4336a dotent also times out 2017-06-28 22:18:19 +08:00
Eric Vergnaud 936a396c81 clarify intent 2017-06-28 20:45:39 +08:00
Eric Vergnaud c5eb9cbeef Merge branch 'master' into fix-travis-timeouts 2017-06-28 20:41:32 +08:00