Merge branch 'hw3docker'

* hw3docker:
  Replace git-checkout with volume mounting from Travis sandbox
  Build trigger
  Fixed environment variables passed to Docker.
  Build trigger
  Switched to Docker for builds.
This commit is contained in:
Podkopaev Anton 2018-03-06 17:59:12 +03:00
commit c1a86eceae

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 -v $(pwd):/usr/share/compiler-workout anlun/compiler-workout-ci
os: script:
- linux docker exec -it compiler-workout-ci sh test.sh