1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 08:40:00 +00:00

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`.
This commit is contained in:
Kfir Hadas 2017-07-29 03:24:05 +03:00 committed by GitHub
parent b992467dad
commit 8a4793ffb0

View file

@ -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