forked from boxbilling/boxbilling
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (33 loc) · 862 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
# http://docs.travis-ci.com/user/build-configuration/
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 7.0
install:
- composer self-update
before_script:
- mysql --user=root -e "CREATE USER 'foo'@'localhost' IDENTIFIED BY 'foo';"
- mysql --user=root -e "GRANT ALL PRIVILEGES ON *.* TO 'foo'@'localhost'"
- mysql -e 'create database IF NOT EXISTS boxbilling'
script: ant
notifications:
email: false
before_deploy: ant release
deploy:
provider: releases
api-key:
secure: tVzZ+3U0ndBGvoUpFqA6ikg6fDKnPgMoNqK1pvTdEp0xmrFtjMP/fuc8+awObhj89iEC+MyzfsOP57CZbHR/UjmUSHPQew+BvTwxYmTUzgUeyUrYsTEI7WJgB7tsL35aRgrpxk102tlSmlX7EonufUT0svPOAQ1p4NgZRm3GI3A=
file: ./build/distribution/BoxBilling.zip
skip_cleanup: true
on:
tags: true
all_branches: true
php: 5.3