-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
56 lines (51 loc) · 1.45 KB
/
.gitlab-ci.yml
File metadata and controls
56 lines (51 loc) · 1.45 KB
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
# https://docs.gitlab.com/ce/ci/yaml/README.html
before_script: # bash
- python3 --version
build:p27:
image: python:2.7-stretch
script:
- echo "Getting PyPI Requirements..."
- pip install -r ./requirements.txt
- echo "Installing..."
- pip install -e .
- echo "Running Flake..."
- pip install flake8 --upgrade
- python -m flake8 --config=tox.ini ./pytio/
- echo "Running tests..."
- python -m unittest -v test_tio
build:p35:
image: python:3.5-stretch
script:
- echo "Getting PyPI Requirements..."
- pip3 install -r ./requirements.txt
- echo "Installing..."
- pip3 install -e .
- echo "Running Flake..."
- pip3 install flake8 --upgrade
- python3 -m flake8 --config=tox.ini ./pytio/
- echo "Running tests..."
- python3 -m unittest -v test_tio
build:p36:
image: python:3.6-stretch
script:
- echo "Getting PyPI Requirements..."
- pip3 install -r ./requirements.txt
- echo "Installing..."
- pip3 install -e .
- echo "Running Flake..."
- pip3 install flake8 --upgrade
- python3 -m flake8 --config=tox.ini ./pytio/
- echo "Running tests..."
- python3 -m unittest -v test_tio
build:p37:
image: python:3.7-stretch
script:
- echo "Getting PyPI Requirements..."
- pip3 install -r ./requirements.txt
- echo "Installing..."
- pip3 install -e .
- echo "Running Flake..."
- pip3 install flake8 --upgrade
- python3 -m flake8 --config=tox.ini ./pytio/
- echo "Running tests..."
- python3 -m unittest -v test_tio