# This deliverately is not "python" as a work-around to support
# multi-os builds with custom Python versions in Travis CI.
language: cpp

os:
  - linux

python:
  - "2.7"
  - "3.4"
  - "3.5"

install:
  - PYTHON_EXE=python$TRAVIS_PYTHON_VERSION ./setup.py install --user

script:
  - PYTHON_EXE=python$TRAVIS_PYTHON_VERSION ./setup.py test

Add a basic Travis CI configuration file
Add a basic Travis CI configuration file

Based on the configuration for the nexB/license-expression project. For
now only Linux is supported as OS X causes

error: can't combine user with prefix, exec_prefix/home, or install_(plat)base

see https://travis-ci.org/sschuberth/spdx-tools-python/jobs/200046170.
