Commit Graph

55 Commits

Author SHA1 Message Date
Eric Vergnaud ddf38ec88f fix failing tests 2020-02-22 10:35:42 +08:00
Camilo Roca 18f5f3cd27 fix: bump nodejs test version to support classes 2020-02-03 20:31:57 +01:00
Terence Parr a75c3e9318
Merge pull request #2686 from ewanmellor/swift-5
[Swift] Migrate Swift runtime to Swift 5.
2019-12-08 16:13:51 -08:00
Terence Parr 1ae00bed84
Merge pull request #2599 from ewanmellor/remove-unnecessary-travis-files
Remove unnecessary Travis files.
2019-12-08 16:11:08 -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 b50635625e add cmd line option 2019-08-19 22:06:58 +08:00
Ewan Mellor 115274e771
Remove unnecessary Travis files.
Remove .travis/before-install-linux-{cpp,java,python2,python3}.sh, and
remove some lines from before-install-linux-{javascript,go}.sh.

These contained apt commands for configuring the Mono project's GPG key,
which is not used in any of these builds, and pointless apt-get update
calls.
2019-07-14 16:03:13 -07:00
Eric Vergnaud 6aa90a2c1d Fixes the mono build, thanks @ewanmellor 2019-07-14 11:48:32 +08:00
You Kaichao 45a4cdc67b update test script 2019-01-04 09:17:36 +08:00
Ewan Mellor 443a1d2454
Make all the Travis test scripts exit in the event of error.
Test scripts that ignore errors aren't very helpful.
2018-11-15 15:33:10 -08:00
Ewan Mellor 481f517fec
[.NET] Make the .NET Travis tests use netstandard1.3.
Add -f netstandard1.3 to the dotnet build command used on Travis.

This has been necessary since PR #2024, and the build has been silently failing
all this time.
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
Terence Parr 84e9a46932
Merge pull request #2107 from ewanmellor/swift-fix-deprecated-string-methods
Remove use of deprecated String functions
2017-11-29 09:52:27 -08:00
Ewan Mellor 84eca87da2
[CSharp] Switch Travis / macOS to .NET Core 1.1.4.
Switch to .NET Core SDK 1.1.4 for the Travis macOS tests.  This is
the LTS release at the moment.

Issue #2078 is starting to look like a crash (SIGILL) inside the dotnet
runtime, so this upgrade may help with that.
2017-11-14 01:47:33 -08:00
Ewan Mellor ba392be1af
Remove use of deprecated String functions in StringExtension.
Remove some functions that are no longer used, and update the
rest to Swift 4's String API.  lastIndexOf changes to lastIndex(of: ),
matching the standard library naming conventions, and returns a
String.Index? instead of an Int.

Add an implementation of Substring.hasPrefix for Linux; this
is in the Apple standard library but not the Linux one.
https://bugs.swift.org/browse/SR-5627

Add unit tests for StringExtension.

Bump the Swift download for the Travis Linux tests from 4.0
to 4.0.2.  There is a bug in Substring.range(of:) in 4.0.0
(https://bugs.swift.org/browse/SR-5663) that we need to avoid.
2017-11-07 17:06:15 -08:00
Ewan Mellor 376f7384c3
Run the Swift runtime unit tests during the Travis run.
These are the unit tests that are written in Swift, not the more
in-depth runtime-testsuite tests (we were always running those).

I don't know why JAVA_HOME isn't set during run-tests-swift.sh, but it
isn't.  Set it, since runtime/Swift/boot.py expects it as part of the
parser generation.
2017-11-04 11:41:20 -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 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
Eric Vergnaud c15aa4336a dotent also times out 2017-06-28 22:18:19 +08:00
Eric Vergnaud c5eb9cbeef Merge branch 'master' into fix-travis-timeouts 2017-06-28 20:41:32 +08:00
Eric Vergnaud 03e9a012bc fix failing build 2017-06-28 20:40:16 +08:00
Eric Vergnaud 32fc500102 Fix typo and rebalance 2017-06-27 07:43:59 +08:00
Eric Vergnaud 5faa889c8a categorise tests to fix Travis timeout, fix script 2017-06-27 01:47:01 +08:00
Eric Vergnaud 0e573fb0a5 categorise tests to fix Travis timeout 2017-06-27 00:50:49 +08:00
Dong Xie ceaf085dc5 [dotnet] for linux target, bring up to jdk8 since jdk7 no longer available for Trusty; for linux and osx targets, bring up dotnet from 1.0.3 to 1.0.4; Trusty image now has mvn 3.3.9 builtin, removed install code 2017-06-26 13:18:48 +01:00
Hanzhou Shi 77eddc8e76 fix linker issue on travis ubuntu 2017-06-03 22:57:21 -07:00
Hanzhou Shi e8962dad7e reads SWIFT_HOME from environment variables. 2017-06-03 22:57:21 -07:00
Hanzhou Shi 10a3ee3f49 adding travis configuration for swift under linux 2017-06-03 22:57:21 -07:00
Dong Xie e94b3acaed [dotnet] fix again for the test speed up 2017-04-28 16:18:36 +01:00
Dong Xie 5fffe4bb2e [dotnet] try to get test run faster; update from 1.0.1 to 1.0.3; fix test dir removal not recursive 2017-04-27 17:23:48 +01:00
Dong Xie da4987dc38 [dotnet] update to .netcore v1.0.1; add osx build 2017-04-04 15:26:40 +01:00
Dong Xie e49b0977f5 fix #1725; get dotnet target test run 2017-03-04 01:42:44 +00:00
parrt 58249f4a32 indicate where mono is under linux:dotnet 2017-03-03 10:27:42 -08:00
parrt f18ce14afe indicate where mono is under linux:dotnet 2017-03-03 10:20:33 -08:00
parrt 7a0f4e716a try generic python 3.5 2017-02-20 10:36:36 -08:00
parrt 44942bc5fc Merge branch 'master' into lecode-official-master 2017-02-19 14:08:26 -08:00
ericvergnaud 9cc527b925 force-rebuild 2017-02-19 13:19:56 +08:00
Eric Vergnaud 414533e6ac print node version 2017-02-19 12:32:10 +08:00
Eric Vergnaud 5827c15183 try different nodejs install method 2017-02-19 12:20:43 +08:00
Eric Vergnaud b0f067e522 rwky ppa no longer available, trying chris-lea 2017-02-19 12:14:02 +08:00
Eric Vergnaud 9e67038855 remove unnecessary calls 2017-02-19 11:38:02 +08:00
Dong Xie d3dd87db3e [dotnet] target: fix travis.yaml once again 2017-02-07 15:49:23 +00:00
Dong Xie 09d45f5d6e [csharp] update travis for dotnet 2017-01-25 00:24:36 +00:00
parrt 643dc2a005 move to script file 2016-11-27 14:06:19 -08:00
Eric Vergnaud 0cf3c2cf50 divide and conquer 2016-11-28 02:44:07 +08:00
Eric Vergnaud c3f9cb3cc7 divide and conquer 2016-11-28 02:22:18 +08:00
Eric Vergnaud bebdeedada divide and conquer 2016-11-28 01:36:46 +08:00
Eric Vergnaud ab3bba906d divide and conquer 2016-11-28 01:07:30 +08:00