language: python
python:
  - "3.6"
cache: pip
email:
  - seanc@seancotech.com
install:
  - curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
  - source /etc/lsb-release
  - echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
  - sudo apt-get update
  - sudo apt-get install -y influxdb
  - sudo service influxdb start
  - pip install -r requirements.txt
  - pip install nose
  - cp -fv config.sample.py config.py
  - sed 's/is_testing = False/is_testing = True/g' config.py > config.tmp.py
  - "sed \"s/'database': 'klima'/'database': '_klima_test'/g\" config.tmp.py > config.py"
  - sed 's/log_level = WARNING/log_level = DEBUG/g' config.py > config.tmp.py
  - mv -fv config.tmp.py config.py
  - ls -la
  - cat config.py
script:
  - nosetests -vv

language: python
python:
  - "3.6"
cache: pip
email:
  - seanc@seancotech.com
install:
  - curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
  - source /etc/lsb-release
  - echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
  - sudo apt-get update
  - sudo apt-get install -y influxdb
  - sudo service influxdb start
  - pip install -r requirements.txt
  - pip install nose
  - cp -fv config.sample.py config.py
  - sed 's/is_testing = False/is_testing = True/g' config.py > config.tmp.py
  - "sed \"s/'database': 'klima'/'database': '_klima_test'/g\" config.tmp.py > config.py"
  - sed 's/log_level = WARNING/log_level = DEBUG/g' config.py > config.tmp.py
  - mv -fv config.tmp.py config.py
  - ls -la
  - cat config.py
script:
  - nosetests test/test_influx.py
  - nosetests test/test_routes.py

Test separate to resolve hang
Test separate to resolve hang
