Updated CI
This commit is contained in:
parent
9f39f8325f
commit
2baac139e8
19
.travis.yml
19
.travis.yml
|
@ -1,11 +1,7 @@
|
|||
language: php
|
||||
arch:
|
||||
- amd64
|
||||
|
||||
php:
|
||||
- '7.4'
|
||||
|
||||
addons:
|
||||
hosts:
|
||||
- appwrite.test
|
||||
os: linux
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
@ -15,10 +11,11 @@ services:
|
|||
- docker
|
||||
|
||||
before_install:
|
||||
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||
- sudo apt-get update
|
||||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
||||
- curl -fsSL https://get.docker.com | sh
|
||||
- echo '{"experimental":"enabled"}' | sudo tee /etc/docker/daemon.json
|
||||
- mkdir -p $HOME/.docker
|
||||
- echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
|
||||
- sudo service docker start
|
||||
|
||||
# cache:
|
||||
# directories:
|
||||
|
|
|
@ -298,7 +298,7 @@ services:
|
|||
- MYSQL_USER=user
|
||||
- MYSQL_PASSWORD=password
|
||||
command: 'mysqld --innodb-flush-method=fsync'
|
||||
# command: mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu
|
||||
# command: mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bu && mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bu
|
||||
|
||||
maildev:
|
||||
image: djfarrelly/maildev
|
||||
|
|
Loading…
Reference in a new issue