language: python

python:
  - "3.4"
#  - "3.5"

sudo: required

services:
  - docker

before_install:
  - docker pull postgres:9.3
  - sudo apt-get install lynx postgresql-server-dev-9.3

install:
  - pip install -r requirements.txt
  - pip2 install texttest

script:
  - (cd test && python3 -m unittest)
  - "python2 `which texttest` -a dash -b -c /home/travis/build/magnus-lycka/gocddash -d /home/travis/build/magnus-lycka/gocddash/texttest -l"
  - find ~/.texttest/tmp -name 'std*.dash' | xargs more | cat
  - find ~/.texttest/tmp -name 'gui_log.dash' | xargs more | cat

language: python

python:
  - "3.4"
#  - "3.5"

sudo: required

services:
  - docker

before_install:
  - docker pull postgres:9.3
  - sudo apt-get install lynx postgresql-server-dev-9.3

install:
  - pip install -r requirements.txt
  - pip2 install texttest

script:
  - sudo timedatectl set-timezone Europe/Stockholm
  - timedatectl status
  - (cd test && python3 -m unittest)
  - "python2 `which texttest` -a dash -b -c /home/travis/build/magnus-lycka/gocddash -d /home/travis/build/magnus-lycka/gocddash/texttest -l"
  - find ~/.texttest/tmp -name 'std*.dash' | xargs more | cat
  - find ~/.texttest/tmp -name 'gui_log.dash' | xargs more | cat

Set time zone to same as where the tests were created.
Set time zone to same as where the tests were created.
