forked from descarteslabs/descarteslabs-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (22 loc) · 1.26 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
language: python
python:
- '2.7'
- '3.5'
- '3.6'
before_install:
- pip install --upgrade pip
install:
- pip install --upgrade -r requirements.txt
- pip install .
- pip install flake8 coverage nose mock
script:
- if [[ $TRAVIS_PYTHON_VERSION == "3.5" ]]; then nosetests --with-coverage --cover-package=descarteslabs
--with-doctest --doctest-options=+ELLIPSIS,+NORMALIZE_WHITESPACE && flake8; fi
- if [[ $TRAVIS_PYTHON_VERSION != "3.5" ]]; then nosetests --with-coverage --cover-package=descarteslabs;
fi
notifications:
slack:
on_success: change
on_failure: always
rooms:
secure: BRwjZ+u816j6gtCtjE6Ez3aAyPZYXqmkR0CxHtD+hELH63hE0F9mgBGz0tdmOUo8eND9XzoDW1le05akJbAFlMW62xnCz07UyIacrmTXAiJKHG05XOF6lj7WZcJXBVSEKt1pQjjDQaAiRxmdwbxd1wDzNqxtUp/C/TekYtJAbyV47iJTqkw/AYh3U9xRw2JMcSA4k1DWh2XZoYmcTJwVGTXCB6U0ixN+E243eyBcrDHi5KnjwHTBeMMH0khuYoKY7K9szwuIphi7FPZc/nWgC4oMBfM9XDMBI8kq6j/nWTkbeexe3EjR+Y9S4CPelPHa/Ln+cCLsnUp1ANX3W5zhwH1dyS6G+bbRcefiWtr9fJD1VEA4hJtiI/56Dr6gzpf+27O1ySgRjGwHGAy9GT2THmNeYIAgk+E3sNL0KIisKxTf0tZAhA19jgVKwUqT6fKrrZeeH35zOK2DG9Z74xv3vNh9AQOIlHjF2OBLRo/tcP3KZQ/VEp1eyZbblcMMTxVcP/bfG58K9h5RiUPSbuMQJq7jI4njX0XvzD7wSUvLuNrc2nbn+JNjc6t9f0AI2YJg7uxKS/nPWthZ02CYl0nN/3zrlLOKfxEjdU/CBqYL8I9QflfbwzXgCKnfnDh/wHISy0Kl17C7lR4tekfJfD7CteRmguYIduuVUHVE00MdLEg=