forked from jupyter-server/enterprise_gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (41 loc) · 1.19 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
44
45
46
47
48
49
50
language: python
python:
- 3.5
- 3.6
services:
- docker
cache:
directories:
- /home/travis/.sbt/
env:
global:
- ASYNC_TEST_TIMEOUT=30
before_install:
- mkdir -p $HOME/.sbt/launchers/1.2.1
- curl -L -o $HOME/.sbt/launchers/1.2.1/sbt-launch.jar https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.2.1/sbt-launch.jar
install:
- pip install --upgrade setuptools pip websocket-client flake8
- travis_retry make clean dist enterprise-gateway-demo
- pip install dist/*.whl coverage
- pip freeze
script:
- jupyter enterprisegateway --help
- flake8 enterprise_gateway
- travis_retry travis_wait 3 nosetests -x --process-restartworker --with-coverage --cover-package=enterprise_gateway enterprise_gateway.tests
- echo "Starting integration tests ..."
- make itest-yarn
- pip uninstall -y jupyter_enterprise_gateway
after_success:
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"
- python --version
- pip --version
- pip list
- docker logs itest-yarn
- pip install codecov
- codecov
after_failure:
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"
- python --version
- pip --version
- pip list
- docker logs itest-yarn