diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-06-17 10:31:15 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-06-17 13:38:41 +0200 |
commit | c2547994a6b7dc0839f595f72a4f874a006a4638 (patch) | |
tree | 1af2be5acde50803539d8d2c97f5d3a96d72cadf /.travis.yml | |
parent | ab24f04ce0a27686e5f0c3f465ccb0ff06c48dfe (diff) |
Run unit tests as travis-ci job
tox doesn't run perm and py35:
- travis-ci doesn't set the classical umask
- ubuntu 14.04 doesn't provide any python 3.5 package
Change-Id: I72ba109b183f079a833a4bab4ab4853d4870ce49
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 16cc81798..ea13625e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,12 +5,15 @@ language: generic before_script: - sudo apt-get -y install qemu-user-static + - sudo pip install tox - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}" - (cd .. && git clone https://github.com/estesp/manifest-tool) - (cd ../manifest-tool && sudo -E make && sudo -E make install) jobs: include: + - stage: run unit tests + script: tox -e docs,pep8,pylint,yamllint,bashate,py27,cover - stage: build functest-core images script: sudo -E bash build.sh env: |