language: python
dist: trusty
notifications:
  email: false
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
node_js:
  - "6"
php:
  - "7.0"
compiler:
  - gcc
before_install:
  - SKLEARN_PORTER_HOME=$(pwd)
install:
  - wget -O gson.jar http://central.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar
  - unset JAVA_TOOL_OPTIONS && unset _JAVA_OPTIONS
  - pip install -U pip
  - make install.requirements.development
before_script:
  - gcc --version
  - java -version
  - node --version
  - go version
  - php --version
  - ruby --version
  - python --version
  - if [[ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]]; then
      python -m SimpleHTTPServer 8080 &>/dev/null &
    else
      python -m http.server 8080 &>/dev/null &
    fi
script:
  - pytest tests -v -o python_files=*Test.py

language: python
dist: trusty
notifications:
  email: false
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
node_js:
  - "6"
php:
  - "7.0"
compiler:
  - gcc
before_install:
  - SKLEARN_PORTER_HOME=$(pwd)
install:
  - wget -O gson.jar http://central.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar
  - unset JAVA_TOOL_OPTIONS && unset _JAVA_OPTIONS
  - pip install -U pip
  - make install.requirements.development
before_script:
  - gcc --version
  - java -version
  - node --version
  - go version
  - php --version
  - ruby --version
  - python --version
script:
  - make test

Use Makefile task for testing
master: Use Makefile task for testing
