Files
web2py/.travis.yml
2017-11-18 12:44:46 +01:00

50 lines
849 B
YAML

language: python
sudo: required
cache: pip
dist: "trusty"
python:
- '2.7'
- '3.5'
- '3.6'
- '3.6-dev'
- '3.7-dev'
- 'pypy-5.3.1'
- 'pypy3.5-5.7.1-beta'
matrix:
allow_failures:
- python: 'pypy3.5-5.7.1-beta'
- python: '3.6-dev'
- python: '3.7-dev'
install:
- pip install -e .
before_script:
- pip install coverage
- pip install codecov
- mysql -e 'create database pydal;'
- psql -c 'create database pydal;' -U postgres
- psql -c 'create extension postgis;' -U postgres -d pydal;
- psql -c 'SHOW SERVER_VERSION' -U postgres
script: export COVERAGE_PROCESS_START=gluon/tests/coverage.ini; ./web2py.py --run_system_tests --with_coverage
after_success:
- coverage combine;
- codecov
notifications:
email: true
addons:
postgresql: "9.4"
apt:
packages:
- postgresql-9.4-postgis-2.3