From 8a4793ffb0a5c0f4a8eccfa8b34f4d916db56698 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Sat, 29 Jul 2017 03:24:05 +0300 Subject: [PATCH] Update Travis (#316) * Update Travis to Trusty Q2 (they fixed the issue it had before, it works now) * Fix charset in database creation on Travis to use `utf8mb4_unicode_ci`. --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c2b39b5..b157cd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,3 @@ -# https://blog.travis-ci.com/2017-06-21-trusty-updates-2017-Q2-launch -# Reverts Trusty build environment version, because 2017Q2 is broken for OrderedDict. -group: deprecated-2017Q2 - language: python python: "3.6" @@ -18,7 +14,7 @@ services: mysql before_install: - - mysql -u root -e 'CREATE DATABASE nyaav2 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;' + - mysql -u root -e 'CREATE DATABASE nyaav2 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;' install: - pip install -r requirements.txt