language: python

sudo: false

python:
  - '2.7'
  - '3.2'
  - '3.3'
  - '3.4'
  - '3.5'
  - 'pypy'

addons:
  apt:
    packages:
      - trang

install:
  - pip install lxml
  - pip install nose

  - cd ..
  - git clone --depth 1 https://github.com/jayvdb/citeproc-test -b python3 --single-branch citeproc-test
  - cd citeproc-test
  - python processor.py -g
  - cd ..

  - cd citeproc-py
  - trang -I rnc -O rng citeproc/data/schema/csl.rnc citeproc/data/schema/csl.rng

script:
  - nosetests
  - PYTHONPATH="." python tests/citeproc-test.py

language: python

sudo: false

python:
  - '2.7'
  - '3.2'
  - '3.3'
  - '3.4'
  - '3.5'

addons:
  apt:
    packages:
      - trang

install:
  - pip install lxml
  - pip install nose

  - cd ..
  - git clone --depth 1 https://github.com/jayvdb/citeproc-test -b python3 --single-branch citeproc-test
  - cd citeproc-test
  - python processor.py -g
  - cd ..

  - cd citeproc-py
  - trang -I rnc -O rng citeproc/data/schema/csl.rnc citeproc/data/schema/csl.rng

script:
  - nosetests
  - PYTHONPATH="." python tests/citeproc-test.py

Remove PyPy from Travis (fails with mem corruption)
Remove PyPy from Travis (fails with mem corruption)