-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: test on 4.03 and improve matrix, script
Before this commit, we were testing on 4.02 on Ubuntu and whatever version Homebrew had on OS X, which happened to be 4.03 - despite the build matrix claiming 4.02. Now explicitly testing on both 4.02 and 4.03 on both systems. The build script now checks which version of the compiler is actually installed. Removed the workaround for ocaml/opam#1747. That was fixed in ocaml/opam#1756. Remaining changes have to do with brevity (set -e instead of explicit checks, set -x instead of echo) and the new build matrix (no need to check for Linux when checking $COVERAGE).
- Loading branch information
Showing
2 changed files
with
57 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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,9 +1,18 @@ | ||
sudo: required | ||
language: c | ||
|
||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
env: OCAML_VERSION=4.02 | ||
- os: linux | ||
env: OCAML_VERSION=4.03 COVERALLS=yes | ||
- os: linux | ||
env: OCAML_VERSION=4.03 BYTECODE_ONLY=yes | ||
- os: osx | ||
env: OCAML_VERSION=4.02 | ||
- os: osx | ||
env: OCAML_VERSION=4.03 | ||
|
||
script: bash -e ./src/travis_ci_test.sh | ||
os: | ||
- linux | ||
- osx | ||
env: | ||
- OCAML_VERSION=4.02 OPAM_VERSION=1.2.0 COVERALLS=yes | ||
- OCAML_VERSION=4.02 OPAM_VERSION=1.2.0 BYTECODE_ONLY=yes |
This file contains 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