forked from jupyterhub/binderhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (52 loc) · 3.29 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
51
52
53
54
55
56
dist: xenial
language: python
python:
- 3.6
git:
depth: false
services:
- docker
sudo: required
before_install:
- nvm install 8; nvm use 8
install:
# need gnutls headers for pycurl
- sudo apt-get -yq install libgnutls28-dev
- export PATH=$PWD/bin:$PATH
- pip install --upgrade pip setuptools
- ./ci/install.sh
- pip install --upgrade -r dev-requirements.txt
- npm install
- npm run webpack
- pip install --upgrade . -r helm-chart/images/binderhub/requirements.txt
- pip freeze
script:
- export BINDER_TEST_NAMESPACE=binder-test-$TEST
- ./ci/test-$TEST
after_failure:
- |
# get pod logs
kubectl get pod --all-namespaces
for pod in $(kubectl get pod --no-headers --namespace=$BINDER_TEST_NAMESPACE | awk '{print $1}'); do
echo $pod
kubectl logs --namespace=$BINDER_TEST_NAMESPACE $pod || echo 'no logs'
done
after_success:
# make sure we are back at the top of the checkout directory no matter
# what previous commands might have done or not
- cd $TRAVIS_BUILD_DIR
- codecov
env:
matrix:
- TEST=main
- TEST=auth
- TEST=helm
global:
- ASYNC_TEST_TIMEOUT=15
- MINIKUBE_VERSION=0.33.1
- KUBE_VERSION=1.13.2
- HELM_VERSION=2.13.0
- CHANGE_MINIKUBE_NONE_USER=true
- secure: BuO4oUz5YZvWhH919Tk8h3McM60NybLImIwB+0C4cmcDC/Z4uS1Jh8R8UbD3vIkJyjPgd+WuoaYGzzgJfCiS5i5TZZfi5yI0URu67fc044vaS7zSegZWsuN40mP4QNYTb+VdYniav8pqqyPyUpKNbOQ+/YJ+BWrC/ncqSL+P+UR6PE9T3TQ4XDuB45z0B2hhfDWBMpP6KtGae7YOWstIPi8ufiS76jjRzE4ziLqsOSwJRGhRbjJXqdcZeH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