mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
e5c18c4109
Run git-diff after dumping the database to make sure that there are no changes to the csv files. We often get PRs from people who edit stuff by hand and don't know to do a load/dump of the database afterwards. Usually this means they were adding game data by hand, which we want to discourage, but even if it's done for valid reasons it's good to canonicalize the csv files as soon as possible to avoid interfering with future commits.
17 lines
278 B
YAML
17 lines
278 B
YAML
os: linux
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
- "3.7"
|
|
- "pypy"
|
|
- "pypy3"
|
|
|
|
install: pip install -e .
|
|
before_script: pokedex setup -v
|
|
script:
|
|
- py.test
|
|
- pokedex dump
|
|
- git --no-pager diff --exit-code pokedex/data/csv/
|