summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2015-03-18 13:31:10 +1300
committerOlly Betts <olly@survex.com>2015-03-18 13:31:10 +1300
commitb7557aeb03b0385525e774ec2ca852348fce27b8 (patch)
treef9c7a040b02aa83b5974073b77b9c52321954c05
parent2278c9b33d7aacf7e4812192784d16604b098fe6 (diff)
downloadswig-b7557aeb03b0385525e774ec2ca852348fce27b8.tar.gz
Add ocaml to travis
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1a79187d7..5d93a72ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,6 +65,9 @@ matrix:
# Not quite working yet
- compiler: gcc
env: SWIGLANG=python SWIG_FEATURES=-classic
+ # Until we get the dependencies sorted out
+ - compiler: gcc
+ env: SWIGLANG=ocaml
before_install:
- date -u
- uname -a
@@ -80,6 +83,8 @@ before_install:
- if test "$SWIGLANG" = "javascript" -a "$ENGINE" = "v8"; then sudo apt-get install -qq libv8-dev; fi
- if test "$SWIGLANG" = "guile"; then sudo apt-get -qq install guile-2.0-dev; fi
- if test "$SWIGLANG" = "lua"; then sudo apt-get -qq install lua5.1 liblua5.1-dev; fi
+ # configure also looks for ocamldlgen which I can't find any trace of outside of SWIG!
+ - if test "$SWIGLANG" = "ocaml"; then sudo apt-get -qq install ocaml ocaml-findlib; fi
- if test "$SWIGLANG" = "octave" -a -z "$VER"; then sudo apt-get -qq install octave3.2 octave3.2-headers; fi
- if test "$SWIGLANG" = "octave" -a "$VER"; then sudo add-apt-repository -y ppa:kwwette/octaves && sudo apt-get -qq update && sudo apt-get -qq install liboctave${VER}-dev; fi
- if test "$SWIGLANG" = "php"; then sudo apt-get install php5-cli php5-dev; fi