-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (39 loc) · 940 Bytes
/
.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
---
branches:
only:
- master
language: python
cache: pip
install:
- pip install -r dev-requirements.txt.lock
jobs:
include:
- stage: 'Lint and Unit Tests'
name: 'py27'
python: '2.7'
env: 'TOXENV=py27'
script: tox
- name: 'py34'
python: '3.4'
env: 'TOXENV=py34'
script: tox
- name: 'shell'
sudo: required
services:
- docker
install: ''
script: make shell-lint
- stage: 'Func tests'
name: 'Build container image and run func-tests'
services:
- docker
before_install:
- sudo apt-get install -y realpath
script:
- make container
- make func-test IMAGE="$(make container-static-version)"
deploy:
provider: script
script: echo "$REGISTRY_PASS" | docker login -u "$REGISTRY_USER" --password-stdin quay.io && make push-container
on:
branch: master