Skip to content

Commit

Permalink
ci(.travis.yml): Uncomment test stage and remove versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Mar 6, 2019
1 parent bb379de commit 18b609b
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 2,202 deletions.
34 changes: 17 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ stages:
jobs:
include:
- stage: test
# install:
# - pip install -U setuptools
# - pip install -e .
# - pip install coveralls
# before_script:
# - wget http://chromedriver.storage.googleapis.com/2.24/chromedriver_linux64.zip
# - unzip chromedriver_linux64.zip -d /home/travis/virtualenv/python2.7.12/bin/
# - export CHROME_BIN=chromium-browser
# - "export DISPLAY=:99.0"
# - "sh -e /etc/init.d/xvfb start"
# - sleep 3
# - pip install selenium==2.48.0
# - python example_project/manage.py collectstatic --noinput --settings test_settings
script: skip
# - python setup.py test
# after_success:
# - coveralls
install:
- pip install -U setuptools
- pip install -e .
- pip install coveralls
before_script:
- wget http://chromedriver.storage.googleapis.com/2.24/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d /home/travis/virtualenv/python2.7.12/bin/
- export CHROME_BIN=chromium-browser
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
- pip install selenium==2.48.0
- python example_project/manage.py collectstatic --noinput --settings test_settings
script:
- python setup.py test
after_success:
- coveralls
- stage: deploy
install:
- pip install -U setuptools
Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ graft deploy/static
graft deploy/templates
graft portal/static
graft portal/templates
# include portal/_version.py
# include versioneer.py
4 changes: 1 addition & 3 deletions portal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Code for Life
#
# Copyright (C) 2018, Ocado Innovation Limited
# Copyright (C) 2019, Ocado Innovation Limited
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
Expand Down Expand Up @@ -35,6 +35,4 @@
# program; modified versions of the program must be marked as such and not
# identified as the original program.

# from ._version import get_versions
__version__ = '1.1.0'
# del get_versions
Loading

0 comments on commit 18b609b

Please sign in to comment.