-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
38 lines (35 loc) · 892 Bytes
/
.gitlab-ci.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
stages:
- test
default:
image: artifactory-pub.bit9.local:5000/cookiemonster-phoenix-centos7-python36:master
before_script:
- curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm"
- yum install -y session-manager-plugin.rpm
- export LC_ALL=en_US.utf-8 && export LANG=en_US.utf-8
test:
only:
refs:
- branches
stage: test
tags:
- Summoner
script:
- pip3 install -r requirements-dev.txt
- black --line-length 160 --check ssmpfwd
- tox -e py36-local,report
except:
- merge_requests
test-installation:
only:
refs:
- branches
stage: test
tags:
- Summoner
script:
- pip3 install -no-cache-dir -e .
- ssmpfwd --help
- ssmpfwd --version
except:
- merge_requests
- master