mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:30:01 +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:
parent
b992467dad
commit
8a4793ffb0
|
@ -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
|
language: python
|
||||||
|
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
|
@ -18,7 +14,7 @@ services:
|
||||||
mysql
|
mysql
|
||||||
|
|
||||||
before_install:
|
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:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
|
Loading…
Reference in a new issue