Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .travis-ocaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ install_on_linux () {
4.06,1.2.2)
OCAML_VERSION=4.02; OCAML_FULL_VERSION=4.06.1
ppa=avsm/ocaml42+opam12 ;;
4.07,1.2.2)
OCAML_VERSION=4.02; OCAML_FULL_VERSION=4.07.0
ppa=avsm/ocaml42+opam12 ;;
*) echo "Unknown OCAML_VERSION=$OCAML_VERSION OPAM_VERSION=$OPAM_VERSION"
echo "(An unset OCAML_VERSION used to default to \"latest\", but you must now specify it."
echo "Try something like \"OCAML_VERSION=3.12\", \"OCAML_VERSION=4.06\", or see README-travis.md at https://github.com/ocaml/ocaml-ci-scripts )"
echo "Try something like \"OCAML_VERSION=3.12\", \"OCAML_VERSION=4.07\", or see README-travis.md at https://github.com/ocaml/ocaml-ci-scripts )"
exit 1 ;;
esac

Expand Down Expand Up @@ -145,7 +148,8 @@ install_on_osx () {
4.03,1.2.2) OCAML_FULL_VERSION=4.03.0; brew install opam ;;
4.04,1.2.2) OCAML_FULL_VERSION=4.04.2; brew install opam ;;
4.05,1.2.2) OCAML_FULL_VERSION=4.05.0; brew install opam ;;
4.06,1.2.2) OCAML_FULL_VERSION=4.06.0; OPAM_SWITCH=${OPAM_SWITCH:-system}; brew install ocaml; brew install opam ;;
4.06,1.2.2) OCAML_FULL_VERSION=4.06.1; brew install opam ;;
4.07,1.2.2) OCAML_FULL_VERSION=4.07.0; OPAM_SWITCH=${OPAM_SWITCH:-system}; brew install ocaml; brew install opam ;;
*) echo "Unknown OCAML_VERSION=$OCAML_VERSION OPAM_VERSION=$OPAM_VERSION"
exit 1 ;;
esac
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ env:
- OCAML_VERSION=4.04
- OCAML_VERSION=4.05
- OCAML_VERSION=4.06
- OCAML_VERSION=4.07
os:
- linux
- osx
1 change: 1 addition & 0 deletions README-travis.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ env:
- OCAML_VERSION=4.02 [...]
- OCAML_VERSION=4.05 [...]
- OCAML_VERSION=4.06 [...]
- OCAML_VERSION=4.07 [...]
```

Add one line per compiler version you want to test. The `[...]` are other
Expand Down