-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
58 lines (50 loc) · 1.44 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
57
58
---
sudo: required
dist: bionic
notifications:
slack:
on_failure: always
matrix:
fast_finish: true
include:
- name: "openfaas minikube latest Python 3.7 on bionic amd64" #OK
dist: bionic
arch: amd64
language: python
python: 3.7
before_install:
- pip3 install virtualenv
- virtualenv -p $(which python3) ~venvpy3
- source ~venvpy3/bin/activate
- pip install -r requirements.txt
script:
- sudo make deploy-minikube-latest
- sudo make deploy-openfaas
after_success:
- deactivate
- name: "openfaas KIND_VERSION=0.8.1 snapped kubectl helm Python 3.7 on bionic" #OK
dist: bionic
arch: amd64
addons:
snaps:
- name: kubectl
confinement: classic
channel: latest/stable
- name: helm
confinement: classic
channel: latest/stable
language: python
python: 3.7
before_install:
- pip3 install virtualenv
- virtualenv -p $(which python3) ~venvpy3
- source ~venvpy3/bin/activate
- pip install -r requirements.txt
script:
- sudo make deploy-kind
- sudo kind create cluster --name openfaas-testing
- sudo kubectl config use-context kind-openfaas-testing
- sudo make deploy-openfaas
- sudo kind delete cluster --name openfaas-testing
after_success:
- deactivate