File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
language : python
3
3
4
+ python :
5
+ - 3.9.7
6
+ - 3.8
7
+
4
8
branches :
5
9
only :
6
10
- main
11
+ - travis
7
12
- /^v\d+\.\d+\.\d+$/
8
13
9
14
before_install :
10
15
- git config --local user.name "LTO Network"
11
16
-
git config --local user.email "[email protected] "
12
-
17
+
18
+ install :
19
+ - ' [[ ! "$TRAVIS_PYTHON_VERSION" =~ "3.9" ]] || source ~/virtualenv/python3.9/bin/activate'
20
+ - pip3 install .
21
+
13
22
before_script :
14
23
- pip3 install pytest
15
24
@@ -22,19 +31,6 @@ stages:
22
31
23
32
jobs :
24
33
include :
25
- - stage : test
26
- python :
27
- - 3.8
28
- install :
29
- - pip3 install .
30
-
31
- - stage : test
32
- python :
33
- - 3.9.7
34
- install :
35
- - source ~/virtualenv/python3.9/bin/activate
36
- - pip3 install .
37
-
38
34
- name : " Publish GitHub release"
39
35
stage : deploy
40
36
if : branch = main AND type = push
You can’t perform that action at this time.
0 commit comments