language: generic sudo: required # Only run test when committing to master branch. branches: only: - 7.x-3.x env: global: - AEGIR_HOSTING_VERSION=7.x-3.x - AEGIR_TESTS_VERSION=master #env: # - test: Ubuntu 14.04 Apache # distribution: ubuntu # version: 14.04 # init: /sbin/init # run_opts: "" addons: hosts: - aegir.local.computer - sitetest.aegir.local.computer services: - docker before_install: # Get test scripts - git clone http://github.com/aegir-project/tests.git /home/travis/build/aegir-project/tests - cd /home/travis/build/aegir-project/tests - git checkout $AEGIR_TESTS_VERSION # Run prepare scripts. - cd /home/travis/build/aegir-project/tests/travis - sudo bash prepare-docker.sh - bash prepare-testenv.sh script: # Tests are included in the docker-compose.yml file in the tests repo. - sudo docker-compose -f docker-compose-provision.yml run -T -e TERM=xterm hostmaster