Skip to content

Commit

Permalink
Travis fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 3, 2019
1 parent bc664bd commit 8fa1abd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
language: php
dist: trusty
sudo: required

php:
- 7.1
Expand Down
10 changes: 10 additions & 0 deletions travis/install-mysql-5.7.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
set -e

# https://askubuntu.com/questions/1065231/dpkg-deb-error-archive-has-premature-member-control-tar-xz-before-contr
sudo apt-get clean
sudo apt-get update
sudo apt-get install dpkg

# https://github.com/git-lfs/git-lfs/issues/3474#issuecomment-454237261
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157

echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections
wget https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb
sudo dpkg --install mysql-apt-config_0.8.14-1_all.deb
Expand Down
10 changes: 10 additions & 0 deletions travis/install-mysql-8.0.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
set -e

# https://askubuntu.com/questions/1065231/dpkg-deb-error-archive-has-premature-member-control-tar-xz-before-contr
sudo apt-get clean
sudo apt-get update
sudo apt-get install dpkg

# https://github.com/git-lfs/git-lfs/issues/3474#issuecomment-454237261
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157

echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
wget https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb
sudo dpkg --install mysql-apt-config_0.8.14-1_all.deb
Expand Down

0 comments on commit 8fa1abd

Please sign in to comment.