summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8c0cfc702a74eca7f03a31fe8eb585d0c325af25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: php

sudo: false

php:
  - 7

matrix:
  fast_finish: true

addons:
  sauce_connect: true
  hosts:
  - mysite.dev
  - www.mysite.dev

cache:
  directories:
  - $HOME/.composer/cache

before_install:
  - composer selfupdate

install:
  - composer install

before_script:
  - export PATH=./bin/:$PATH
  - export SAUCE_BUILD=$TRAVIS_BUILD_NUMBER
  - export SAUCE_TUNNEL_IDENTIFIER=$TRAVIS_JOB_NUMBER
  - php -S localhost:8888 &
  - sleep 3

script:
  - phing coverage

after_script:
  - php ./bin/coveralls -v