Skip to content

Commit

Permalink
[PR] [travis] build with Trusty
Browse files Browse the repository at this point in the history
Summary:
jobs are starting to run on their own with `dist: trusty`. we should pin to either `dist: precise` (old) or `dist: trusty` (new).

trusty seems to fail because (I assume) it has a newer `nvm`, which is not happy with the `PREFIX` that we export while setting up ocaml. I don't think `PREFIX` needs to be set anymore after it's installed, so let's try unsetting it.
Closes #4606

Differential Revision: D5633024

Pulled By: mroch

fbshipit-source-id: fc06429cfe966676052e35df03ae6e893060d0b9
  • Loading branch information
mroch authored and facebook-github-bot committed Aug 16, 2017
1 parent 2b24a84 commit 8549fb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
sudo: false
dist: precise
dist: trusty

env:
global:
Expand Down
2 changes: 2 additions & 0 deletions resources/travis/install_deps.sh
Expand Up @@ -65,6 +65,8 @@ eval "$(opam config env)"
echo "Installed packages:"
ocamlfind list

unset PREFIX

printf "travis_fold:end:opam_installer\n"

printf "travis_fold:start:yarn_install\nInstalling yarn dependencies\n"
Expand Down

0 comments on commit 8549fb4

Please sign in to comment.