Switched to Docker for builds.

This commit is contained in:
Podkopaev Anton 2018-03-02 09:12:00 +03:00
parent 0d3cd8aa61
commit 04b9db848e

View file

@ -1,8 +1,8 @@
language: c language: c
sudo: required services:
install: wget https://raw.githubusercontent.com/anlun/ocaml-ci-scripts/patch-1/.travis-opam.sh - docker
script: bash -ex .travis-opam.sh before_install:
env: - docker pull anlun/compiler-workout-ci
- FORK_USER=anlun FORK_BRANCH=patch-1 OCAML_VERSION=4.06 - docker run -d -it --name compiler-workout-ci -e "TRAVIS_COMMIT=$TRAVIS_PULL_REQUEST_BRANCH" anlun/compiler-workout-ci
os: script:
- linux docker exec -it compiler-workout-ci sh test.sh