Permalink
Browse files

add skeleton travis files

  • Loading branch information...
avsm committed Sep 23, 2013
1 parent 19116a7 commit 2671cb1e968e084c13989762ea43fc1a5b4703d7
Showing with 31 additions and 0 deletions.
  1. +26 −0 .travis-ci.sh
  2. +5 −0 .travis.yml
View
@@ -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
View
@@ -0,0 +1,5 @@
language: c
script: bash -ex .travis-ci.sh
env:
- OCAML_VERSION=4.00.1
- OCAML_VERSION=4.01.0

0 comments on commit 2671cb1

Please sign in to comment.