Travis: Migrating from legacy to container-based infrastructure

master
Wagner Augusto Andreoli 9 years ago
parent 8230fa17d5
commit d6f1f5c2cc
  1. 2
      .travis.yml
  2. 10
      {{cookiecutter.app_name}}/.travis.yml
  3. 2
      {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/user/models.py

@ -1,3 +1,5 @@
# Config file for automatic testing at travis-ci.org
sudo: false # http://docs.travis-ci.com/user/migrating-from-legacy/
language: python
python:
- 2.7

@ -1,11 +1,9 @@
# Config file for automatic testing at travis-ci.org
sudo: false # http://docs.travis-ci.com/user/migrating-from-legacy/
language: python
python:
- "3.3"
- "2.7"
- 2.7
- 3.3
- 3.4
install: pip install -r requirements/dev.txt
script: py.test tests

@ -4,7 +4,7 @@ import datetime as dt
from flask_login import UserMixin
from {{cookiecutter.app_name}}.database import Column, Model, reference_col, SurrogatePK, db, relationship
from {{cookiecutter.app_name}}.database import Column, Model, SurrogatePK, db, reference_col, relationship
from {{cookiecutter.app_name}}.extensions import bcrypt

Loading…
Cancel
Save