Browse code

update Azure config to use new tox environments

Joseph Weston authored on 17/12/2019 13:39:55
Showing 1 changed files
... ...
@@ -13,41 +13,41 @@ jobs:
13 13
       UbuntuPython36:
14 14
         python.version: '3.6'
15 15
         vmImage: 'ubuntu-16.04'
16
-        tox_env: '36'
16
+        tox_env: 'py36'
17 17
       UbuntuPython37:
18 18
         python.version: '3.7'
19 19
         vmImage: 'ubuntu-16.04'
20
-        tox_env: '37'
20
+        tox_env: 'py37'
21 21
       UbuntuPython38:
22 22
         python.version: '3.8'
23 23
         vmImage: 'ubuntu-16.04'
24
-        tox_env: '38'
24
+        tox_env: 'py38'
25 25
 
26 26
       macOSPython36:
27 27
         python.version: '3.6'
28 28
         vmImage: 'macOS-10.13'
29
-        tox_env: '36'
29
+        tox_env: 'py36'
30 30
       macOSPython37:
31 31
         python.version: '3.7'
32 32
         vmImage: 'macOS-10.13'
33
-        tox_env: '37'
33
+        tox_env: 'py37'
34 34
       macOSPython38:
35 35
         python.version: '3.8'
36 36
         vmImage: 'macOS-10.13'
37
-        tox_env: '38'
37
+        tox_env: 'py38'
38 38
 
39 39
       WindowsPython36:
40 40
         python.version: '3.6'
41 41
         vmImage: 'vs2017-win2016'
42
-        tox_env: '36'
42
+        tox_env: 'py36'
43 43
       WindowsPython37:
44 44
         python.version: '3.7'
45 45
         vmImage: 'vs2017-win2016'
46
-        tox_env: '37'
46
+        tox_env: 'py37'
47 47
       WindowsPython38:
48 48
         python.version: '3.8'
49 49
         vmImage: 'vs2017-win2016'
50
-        tox_env: '38'
50
+        tox_env: 'py38'
51 51
   pool:
52 52
     vmImage: '$(vmImage)'
53 53
   steps:
... ...
@@ -56,11 +56,11 @@ jobs:
56 56
       versionSpec: '$(python.version)'
57 57
   - script: pip install tox
58 58
     displayName: Install tox
59
-  - script: tox -e bare$(tox_env)
60
-    displayName: Run the bare tests
59
+  - script: tox -e $(tox_env)-mindeps
60
+    displayName: Run the tests with minimal dependencies
61 61
   - script: tox -e clean
62 62
     displayName: Clean
63
-  - script: tox -e py$(tox_env)
63
+  - script: tox -e $(tox_env)-alldeps
64 64
     displayName: Run the tests
65 65
 
66 66
 - job: coverage