forked from kvesteri/sqlalchemy-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 626 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: python
sudo: required
dist: xenial
addons:
postgresql: "9.5"
services:
- docker
- mysql
before_script:
- psql -c 'create database sqlalchemy_utils_test;' -U postgres
- psql -c 'create extension hstore;' -U postgres -d sqlalchemy_utils_test
- mysql -e 'create database sqlalchemy_utils_test;'
matrix:
include:
- python: 3.5
env:
- "TOXENV=py35"
- python: 3.6
env:
- "TOXENV=py36"
- python: 3.7
env:
- "TOXENV=py37"
- python: 3.7
env:
- "TOXENV=lint"
install:
- source $TRAVIS_BUILD_DIR/.travis/install_mssql.sh
- pip install tox
script:
- tox