forked from bluntelk/IXP-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (25 loc) · 854 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
sudo: required
dist: xenial
addons:
chrome: stable
language: php
php:
- 7.3
- 7.4
services:
- memcached
- mysql
notifications:
email:
before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('new_password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- mysql -u root -pnew_password -e 'CREATE DATABASE myapp_test CHARACTER SET = "utf8mb4" COLLATE = "utf8mb4_unicode_ci";'
- mysql -u root -pnew_password -e 'GRANT ALL ON myapp_test.* TO [email protected] IDENTIFIED BY "";'
- sudo apt-get update
- "./data/travis-ci/setup_tests.sh"
before_script:
- echo 'Europe/Dublin' | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend noninteractive tzdata
after_failure:
- "./data/travis-ci/after_failure.sh"