diff --git a/.travis.yml b/.travis.yml index cf2eed23..47a28f85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,12 @@ +language: python sudo: false -cache: pip +cache: + apt: true + directories: + - $HOME/.cache/pip + +python: + - "2.7" addons: apt: @@ -7,14 +14,9 @@ addons: - expect-dev # provides unbuffer utility - python-lxml # because pip installation is slow -language: python - -python: - - "2.7" - env: + global: - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" - # Transifex settings - TRANSIFEX_USER='transbot@odoo-community.org' - secure: NUsXwVrMntcqge1ozKW+DSkP7dq+Rla6JVvFF2c89/g+zJaIqQRi8EQBLoqNwCdMk+rjpQeZt/JPELjH+EzPcmGddhDxOgVB3nUT9LvFXGCHF+NjmHXqyba4tuc7BnpG1WDD+rSlxVCt1aIjNIhhaZ4ic0rCWpKNYu/yFTsmChc= matrix: @@ -27,13 +29,12 @@ virtualenv: system_site_packages: true install: - - pip install xlwt - - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools + - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - - travis_install_nightly ${VERSION} + - travis_install_nightly script: - - travis_run_tests ${VERSION} + - travis_run_tests after_success: - - coveralls + - travis_after_tests_success diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..d074946c --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +xlwt \ No newline at end of file