forked from in6pio/Incipio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (52 loc) · 1.28 KB
/
.travis.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
sudo: false
language: php
php:
- 7.0
- nightly
- hhvm
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
- GITHUB_PAGES_COMMIT_MESSAGE="Rebuild pages at $(git rev-parse --short HEAD)"
- if [[ -z "$GITHUB_PAGES_TOKEN" ]]; then
GITHUB_PAGES_REMOTE="https://user:${GITHUB_PAGES_TOKEN}@github.com/in6pio/Incipio.git";
fi;
- GITHUB_USER_NAME="TravisBot"
- GITHUB_USER_EMAIL="travisbot@incipio.fr"
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
cache:
directories:
- $HOME/.cache/pip
- $HOME/.composer/cache/files
- $HOME/.gem/ruby
- $HOME/.gem/specs
matrix:
include:
- php: 5.6
env: DEPLOY_BUILD=true
- php: 5.6 # We don't really care here as it will be the build for front-end assets
# Travis has yet to support multiple languages in the matrix configuration
env: ASSETS_BUILD=true
allow_failures:
- php: 7.0
- php: nightly
- php: hhvm
fast_finish: true
before_install:
- for file in scripts/*.sh; do
echo -en "\e[34mimporting ${file}\e[0m\n";
source "$file";
done
- appBeforeInstall
- assetsBeforeInstall
install:
- appInstall
- assetsInstall
script:
- appScript
- assetsScript
after_success:
- publishToGithubPages
after_script:
- sendCoverageData