forked from Cloudneeti/docs_cloudneeti
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
42 lines (34 loc) · 855 Bytes
/
.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
language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
include:
- php: 5.4
env:
- dependencies=lowest
- php: 7.0
env:
- DEPLOY_WEBSITE=true
before_script:
- composer install -n
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;
script:
- vendor/bin/phpunit
after_success:
- if [ "$DEPLOY_WEBSITE" = "true" ]; then ./travis-prepare-release.sh && bin/couscous travis-auto-deploy; fi;
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: duX9ViWZ8Iin85auMS4XM4r+FqzShZ0at4sylE3QnUdXe6X5jfxBdOO+L1mhY1JyJ/BA8TjUziGDZ2e8UvwkMHIZRe+eZIifqwm/8Y9P2lMFmVNoHC4qfESl4NgHShc4gFjeUYkhMRQLgHScY+lkY+N4HVz10Y1P6B3c4EBXSxg=
file: bin/couscous.phar
on:
repo: CouscousPHP/Couscous
tags: true
php: '7.0'