os: linux
sudo: required
language: python

env:
  - UNITTEST_NYAWC_SITE=1

python:
  - 3.3
  - 3.4
  - 3.5
  - 3.6

install:
  - sudo apt-get install -y apache2
  - sudo apt-get install -y php5-common libapache2-mod-php5
  - sudo service apache2 restart
  - sudo mkdir -p /var/www/html
  - sudo mv test/site /var/www/html
  - sudo chown -R www-data:www-data /var/www
  - pip install -r requirements.txt

script:
  - python -m unittest discover
os: linux
dist: trusty
sudo: required
language: python

env:
  - UNITTEST_NYAWC_SITE=1

python:
  - 3.3
  - 3.4
  - 3.5
  - 3.6

install:
  - sudo apt-get install -y apache2
  - sudo apt-get install -y php5-common libapache2-mod-php5
  - sudo service apache2 restart
  - sudo rm -r /var/www/html/*
  - sudo mv test/site /var/www/html
  - sudo chown -R www-data:www-data /var/www
  - pip install -r requirements.txt

script:
  - python -m unittest discover
Use Trusty distro for Travis CI.
Use Trusty distro for Travis CI.
