Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
add skeleton travis files
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
echo pull req $TRAVIS_PULL_REQUEST | ||
|
||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then | ||
curl -OL https://github.com/$TRAVIS_REPO_SLUG/pull/$TRAVIS_PULL_REQUEST.diff -o pullreq.diff | ||
cat pullreq.diff | ||
fi | ||
|
||
# Install OCaml and OPAM PPAs | ||
case "$OCAML_VERSION" in | ||
4.00.1) | ||
echo "yes" | sudo add-apt-repository ppa:avsm/ppa | ||
;; | ||
4.01.0) | ||
echo "yes" | sudo add-apt-repository ppa:avsm/ppa-testing | ||
;; | ||
*) | ||
;; | ||
esac | ||
|
||
sudo apt-get update -qq | ||
sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam | ||
export OPAMYES=1 | ||
export OPAMVERBOSE=1 | ||
|
||
cd $TRAVIS_BUILD_DIR | ||
git show |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: c | ||
script: bash -ex .travis-ci.sh | ||
env: | ||
- OCAML_VERSION=4.00.1 | ||
- OCAML_VERSION=4.01.0 |