Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Update travis build environment

Scott Peshak9773e2e41ab6
diff --git a/.travis.yml b/.travis.yml
index 06d5a77a6..7872caa02 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,8 @@
language: python
+dist: xenial
+
+services:
+ - postgresql
# Cache the pip files
cache:
@@ -14,8 +18,8 @@ sudo: false
# Python versions to test
python:
- - "3.5"
- "3.6"
+ - "3.7"
# Manually define here the combinations environment variables to test
# https://github.com/travis-ci/travis-ci/issues/1519
@@ -27,15 +31,6 @@ env:
# Install the application
install:
- # Update nvm and set wanted Node version.
- # We update nvm using the script method instead of git, which is selected
- # automatically, as git won't work because the $HOME/.nvm is not a git
- # repository and the directory is not empty.
- - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | METHOD=script bash
- - . $HOME/.nvm/nvm.sh
- - nvm install $TRAVIS_NODE_VERSION
- - nvm use $TRAVIS_NODE_VERSION
-
# Install requirements
- pip install -r requirements_devel.txt
- python setup.py develop