mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-10 13:14:09 -05:00
Moved more commands in before_install for travis
This commit is contained in:
parent
13effa8969
commit
0a4b812924
2 changed files with 5 additions and 7 deletions
|
|
@ -1,14 +1,7 @@
|
|||
# Edit this for your own project dependencies
|
||||
OPAM_DEPENDS="ocamlfind ocamlbuild"
|
||||
|
||||
export OPAMYES=1
|
||||
export OPAMVERBOSE=1
|
||||
|
||||
opam init
|
||||
opam switch ${OCAML_VERSION}
|
||||
eval `opam config env`
|
||||
opam install ${OPAM_DEPENDS}
|
||||
eval `opam config env`
|
||||
|
||||
make lib
|
||||
make bin
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@ before_install:
|
|||
- echo "yes" | sudo add-apt-repository ppa:avsm/ocaml42+opam12
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam
|
||||
- export OPAMYES=1
|
||||
- export OPAMVERBOSE=1
|
||||
- opam init
|
||||
- opam switch ${OCAML_VERSION}
|
||||
- eval `opam config env`
|
||||
env:
|
||||
- OCAML_VERSION=4.00.1
|
||||
- OCAML_VERSION=4.01.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue