File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ echo pull req $TRAVIS_PULL_REQUEST
2+
3+ if [ " $TRAVIS_PULL_REQUEST " != " false" ]; then
4+ curl -OL https://github.com/$TRAVIS_REPO_SLUG /pull/$TRAVIS_PULL_REQUEST .diff -o pullreq.diff
5+ cat pullreq.diff
6+ fi
7+
8+ # Install OCaml and OPAM PPAs
9+ case " $OCAML_VERSION " in
10+ 4.00.1)
11+ echo " yes" | sudo add-apt-repository ppa:avsm/ppa
12+ ;;
13+ 4.01.0)
14+ echo " yes" | sudo add-apt-repository ppa:avsm/ppa-testing
15+ ;;
16+ * )
17+ ;;
18+ esac
19+
20+ sudo apt-get update -qq
21+ sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam
22+ export OPAMYES=1
23+ export OPAMVERBOSE=1
24+
25+ cd $TRAVIS_BUILD_DIR
26+ git show
Original file line number Diff line number Diff line change 1+ language : c
2+ script : bash -ex .travis-ci.sh
3+ env :
4+ - OCAML_VERSION=4.00.1
5+ - OCAML_VERSION=4.01.0
You can’t perform that action at this time.
0 commit comments