This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
executable file
·43 lines (38 loc) · 2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
group: travis_latest
language: python
cache: pip
python:
- 3.5
install:
- pip install -r requirements.txt -r requirements_dev.txt
before_script:
# add scripts to PYTHONPATH
- export PYTHONPATH=./scripts:$PYTHONPATH
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# stop the build if any of pytest customizations breaks the testing
- pytest ci/pytest_customization -v
script:
- pytest ci -v --durations=3 --ignore=ci/pytest_customization -W error::deprecation.UnsupportedWarning
after_script:
# deploy all 'outputs' folders to Artifactory
- ./scripts/artifactory/artifactory-deploy-tests-outputs.sh
# remove old files (older than ${ARTIFACTORY_KEEP_DAYS}) and delete empty builds and branches
- ./scripts/artifactory/artifactory-cleanup.sh
notifications:
email:
recipients:
#- tondrej@cz.ibm.com
#- tomas_macek@cz.ibm.com
- tereza.pytelova@cz.ibm.com
on_success: change
on_failure: always
on_pull_requests: false
slack:
rooms:
secure: yDXe4PxGoBVK+aFSl7elh/TB/c8TtF4cbv8FFNVFgK0DNIArCfOi2AoqfWfHUxHA80YHKcdXFxsIb8q9WpG/Lwmef89fapJLGkb3Qox2uEO+Cjn/rGnh6RY5q2yZbesp1alHngIwzJyxxWb1XSpgdlk+vr2V0Czm6JnepcH6LC9f2wELqFngW/DGr2mhHwjKk6GVlybd9M4VBjlSyqirUd6Yio5a4kwvvAQK6HxwvBL7JFPMQcOo5KKnWWa6KW4ptW/MxP0saghgmbMOYKkFzjkyqN1S0MNx23Vrpi0B89QsV4y4yrhjn72Kpfou8PIkeNrYgTH2r+KXJ95tVmTV05v/XXO8Ln16VtovYQXPTmmYm+fzNznDh3O2FKWOMoOTCRzTxEJzk05A/cSKS+v1a/fDfEsLq6kO4/DvW8AFEAMxJXXI4Isnv7Kqkzb0jND2Ce7NVr0bWIloneXBLpE7EpdWyCBxj4IhYzfHZk2Lw7Y/Qhz8m+NcZ7pg3wMfkQKS7X0phm5K4BvLop0ZPuGgYvZi5/nlS3dyH+71O1tjSudn5cjnLpKMbNsf7QeWoGNn8NW/X1HHy72PB8zZmqSa0Pl/EcBJBkzZciAXICrelWP1Qxwpez4M0xFC/XZ8f+Yl9lLn+BQpfL6K1nsrBy0oiw1+ERVzKDK05fPV3DbXkbw=
on_success: change
on_failure: always
on_pull_requests: false