Community mailing list archives

community@mail.odoo.com

Travis

by
Torvald Baade Bringsvor, Torvald B. Bringsvor
- 03/03/2015 17:55:48
Hi

I have tried to set up Travis to run my tests, but no joy this far:

Nothing to test- exiting early.

​No matter what I do. ​I see that Travis runs my build when I push a change to the repository, and that it reads my .travis.yml file, since I was able to turn off lint. But no yml or unittests (I have both) are being run.

Here is my .travis.yml file, copied from some OCA project. What am I missing?
language: python

python:
  - "2.7"

env:
  - VERSION="8.0" LINT_CHECK="0"
  - VERSION="8.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  - VERSION="8.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  - VERSION="8.0" UNIT_TEST="1" LINT_CHECK="0"


virtualenv:
  system_site_packages: true

install:
  - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  - sudo pip install unidecode
  - travis_install_nightly

script:
  - travis_run_tests

after_success:
  coveralls


Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner
  • Re: Travis

    by
    Torvald Baade Bringsvor, Torvald B. Bringsvor
    - 03/04/2015 06:23:01 - 0
  • Re: Travis

    by
    Pedro M. Baeza
    - 03/03/2015 17:59:56 - 0