From f1e1dab8504c6f760919c8666a73ca2d95094ea1 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 25 Aug 2019 06:22:10 +0200 Subject: [PATCH] add .travis.yml --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b66e462 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: python +matrix: + include: + - name: "python 3.7 Xenial" + dist: xenial + python: 3.7 + - name: "python 3.7 Windows" + os: windows + language: shell # 'language: python' is an error on Travis CI Windows + before_install: choco install python + env: PATH=/c/Python37:/c/Python37/Scripts:$PATH + - name: "python 3.7 MacOs" + os: osx + language: shell # 'language: python' is an error on Travis CI macOS + cache: + directories: + - "$HOME/Library/Caches/Homebrew" + - "$HOME/Library/Caches/pip" + addons: + homebrew: + #update: true + packages: python3 + before_install: + - python3 -m pip install --upgrade virtualenv + - virtualenv -p python3 --system-site-packages "$HOME/venv" + - source "$HOME/venv/bin/activate" +install: pip install wheel pillow pytest pdfrw +script: + - python --version + - python setup.py test