Skip to content

Commit

Permalink
Try installing ocaml/opam using binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
neojski committed Jun 25, 2017
1 parent 19552ad commit 21e12b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ before_install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- evm install $EVM_EMACS --use --skip
- cask
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh
- sudo apt-get update -qq
- sudo apt-get install -qq ocaml
install:
- wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh
- yes | sh ./opam_installer.sh
env:
# For ocaml instructions please see: https://github.com/ocaml/ocaml-ci-scripts/blob/master/README-travis.md (c15c61b50f26216feadb1800a1e2ec5a149a0d15)
- OCAML_VERSION=4.04 EVM_EMACS=emacs-24.3-travis
Expand All @@ -13,8 +17,6 @@ env:
- OCAML_VERSION=4.04 EVM_EMACS=emacs-25.1-travis
- OCAML_VERSION=4.04 EVM_EMACS=emacs-git-snapshot-travis
script:
# This is going to fail because it tries to install local package but we're installing opam just to install merlin. If something is wrong merlin installation will fail so this is not hiding errors
- bash -ex .travis-opam.sh || true
- opam install merlin.2.5.5 -y
- ./run-travis-ci.sh

Expand Down

0 comments on commit 21e12b4

Please sign in to comment.