language: python

# Supported CPython versions:
# https://en.wikipedia.org/wiki/CPython#Version_history
python:
 - 2.7
 - 3.6

sudo: false

install:
 - pip install pycodestyle pyflakes
 - pip install -r requirements.txt
 - npm install svgexport -g
 - wget https://hugovk.github.io/top-pypi-packages/top-pypi-packages-365-days.json -O top-pypi-packages.json

script:
 # Unit tests
 - python test_utils.py

 # Static analysis
 - pyflakes .
 - pycodestyle --statistics --count .

 # Test run
 - python generate.py

matrix:
  fast_finish: true

language: python

# Supported CPython versions:
# https://en.wikipedia.org/wiki/CPython#Version_history
python:
 - 2.7
 - 3.6

sudo: false

install:
 - pip install pycodestyle pyflakes
 - pip install -r requirements.txt
 - npm install svgexport -g

script:
 # Unit tests
 - python test_utils.py

 # Static analysis
 - pyflakes .
 - pycodestyle --statistics --count .

 # Test run
 - ./build.sh

matrix:
  fast_finish: true

Test more: call build.sh which calls generate.py
Test more: call build.sh which calls generate.py
