1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,39 +0,0 @@ |
1 |
-environment: |
|
2 |
- matrix: |
|
3 |
- - PYTHON: C:\Python35-x64 |
|
4 |
- - PYTHON: C:\Python36 |
|
5 |
- - PYTHON: C:\Python36-x64 |
|
6 |
- - PYTHON: C:\Python37 |
|
7 |
- - PYTHON: C:\Python37-x64 |
|
8 |
- - PYTHON: C:\Python38 |
|
9 |
- - PYTHON: C:\Python38-x64 |
|
10 |
-matrix: |
|
11 |
- fast_finish: true |
|
12 |
-install: |
|
13 |
- - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
|
14 |
- # Git won't let us do anything without this. |
|
15 |
- - git config --global user.email "you@example.com" |
|
16 |
- - git config --global user.name "Your Name" |
|
17 |
- - "python --version" |
|
18 |
- - cd .. |
|
19 |
- - git init my_package |
|
20 |
- - cd my_package |
|
21 |
- - python ../miniver/ci/create_package.py |
|
22 |
- - git add . |
|
23 |
- - git commit -m "Initialization of package" |
|
24 |
- - git tag -a 0.0.0 -m "First version for miniver" |
|
25 |
- - pip install -e . |
|
26 |
- |
|
27 |
-# Not a .NET project |
|
28 |
-build: false |
|
29 |
- |
|
30 |
-test_script: |
|
31 |
- - python -c "import my_package; assert my_package.__version__ == '0.0.0' |
|
32 |
- - cd ../my_package |
|
33 |
- - "echo # Extra comment >> setup.py" |
|
34 |
- - python -c "import my_package; assert my_package.__version__.endswith('dirty')" |
|
35 |
- - python -c "import my_package; assert my_package.__version__.startswith('0.0.0')" |
|
36 |
- - git commit -a -m "new comment" |
|
37 |
- - python -c "import my_package; assert my_package.__version__.startswith('0.0.0.dev1')" |
|
38 |
- - git tag -a 0.0.1 -m "0.0.1" |
|
39 |
- - python -c "import my_package; assert my_package.__version__ == '0.0.1'" |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,37 @@ |
1 |
+environment: |
|
2 |
+ matrix: |
|
3 |
+ - PYTHON: C:\Python35-x64 |
|
4 |
+ - PYTHON: C:\Python36 |
|
5 |
+ - PYTHON: C:\Python36-x64 |
|
6 |
+ - PYTHON: C:\Python37 |
|
7 |
+ - PYTHON: C:\Python37-x64 |
|
8 |
+matrix: |
|
9 |
+ fast_finish: true |
|
10 |
+install: |
|
11 |
+ - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
|
12 |
+ # Git won't let us do anything without this. |
|
13 |
+ - git config --global user.email "you@example.com" |
|
14 |
+ - git config --global user.name "Your Name" |
|
15 |
+ - "python --version" |
|
16 |
+ - cd .. |
|
17 |
+ - git init my_package |
|
18 |
+ - cd my_package |
|
19 |
+ - python ../miniver/ci/create_package.py |
|
20 |
+ - git add . |
|
21 |
+ - git commit -m "Initialization of package" |
|
22 |
+ - git tag -a 0.0.0 -m "First version for miniver" |
|
23 |
+ - pip install -e . |
|
24 |
+ |
|
25 |
+# Not a .NET project |
|
26 |
+build: false |
|
27 |
+ |
|
28 |
+test_script: |
|
29 |
+ - python -c "import my_package; assert my_package.__version__ == '0.0.0' |
|
30 |
+ - cd ../my_package |
|
31 |
+ - "echo # Extra comment >> setup.py" |
|
32 |
+ - python -c "import my_package; assert my_package.__version__.endswith('dirty')" |
|
33 |
+ - python -c "import my_package; assert my_package.__version__.startswith('0.0.0')" |
|
34 |
+ - git commit -a -m "new comment" |
|
35 |
+ - python -c "import my_package; assert my_package.__version__.startswith('0.0.0.dev1')" |
|
36 |
+ - git tag -a 0.0.1 -m "0.0.1" |
|
37 |
+ - python -c "import my_package; assert my_package.__version__ == '0.0.1'" |