summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c5ca62b7a08f09d4f50c7fd235dee019ec953c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python
matrix:
    allow_failures:
        - os: osx
    include:
        - os: osx
          language: generic
        - os: linux
          sudo: required
          python: 3.4
        - os: linux
          sudo: required
          python: 2.7
before_install:
  - ./.travis/before_install.sh
# command to install dependencies
install:
  - pip install -r requirements.txt
  - pip install flake8 pytest
  - python setup.py install
# command to run tests + check syntax style
script:
  - flake8 examples/ ot/ test/
  - python -m py.test -v test/
  # - py.test ot test