@@ -7,27 +7,75 @@ trigger:
7
7
- azure-pipelines
8
8
9
9
jobs :
10
+ - job : Test
11
+ pool :
12
+ vmImage : ' Ubuntu-16.04'
13
+ steps :
14
+ - checkout : self
15
+ submodules : recursive
16
+ # - bash: |
17
+ # wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb
18
+ # sudo dpkg -i gcc-arm-embedded*_amd64.deb
19
+ # displayName: 'Install ARM GCC'
20
+ - bash : |
21
+ sudo apt-get install gettext
22
+ displayName: 'Install native deps'
23
+ - bash : |
24
+ sudo apt-get install -y python3-pip python3-setuptools
25
+ pip3 install --user sh click Sphinx sphinx-rtd-theme recommonmark polib
26
+ pip3 install --upgrade --user cpp-coveralls
27
+ displayName: 'Install python deps'
28
+ - bash : |
29
+ gcc --version
30
+ arm-none-eabi-gcc --version
31
+ python3 --version
32
+ displayName: 'Print versions'
33
+ - bash : |
34
+ make -C mpy-cross -j2
35
+ displayName: 'Build mpy-cross'
36
+ - bash : |
37
+ make -C ports/unix deplibs -j2
38
+ make -C ports/unix -j2
39
+ make -C ports/unix coverage -j2
40
+ displayName: 'Build unix'
41
+ workingDirectory: 'tools'
42
+ - bash : |
43
+ MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
44
+ displayName: 'Test all'
45
+ workingDirectory: 'tests'
46
+ - bash : |
47
+ MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread
48
+ displayName: 'Test threads'
49
+ workingDirectory: 'tests'
10
50
- job : BuildARM
11
51
pool :
12
52
vmImage : ' Ubuntu-16.04'
13
53
strategy :
14
54
matrix :
15
55
adafruit_samd_m0_boards :
16
56
TRAVIS_BOARDS : ' trinket_m0 pirkey_m0 gemma_m0'
17
- samd_m0_boards :
18
- TRAVIS_BOARDS : ' sparkfun_lumidrive meowmeow uchip arduino_zero arduino_mkr1300 arduino_mkrzero pewpew10 sparkfun_samd21_mini sparkfun_samd21_dev catwan_usbstick'
57
+ sparkfun_samd_m0_boards :
58
+ TRAVIS_BOARDS : ' sparkfun_lumidrive sparkfun_samd21_mini sparkfun_samd21_dev'
59
+ arduino_samd_m0_boards :
60
+ TRAVIS_BOARDS : ' arduino_zero arduino_mkr1300 arduino_mkrzero'
61
+ other_samd_m0_boards :
62
+ TRAVIS_BOARDS : ' meowmeow uchip pewpew10 catwan_usbstick'
19
63
feather_samd_m0_boards :
20
64
TRAVIS_BOARDS : ' feather_radiofruit_zigbee feather_m0_rfm69 feather_m0_rfm9x feather_m0_adalogger feather_m0_basic'
21
- samd_m0_express_boards :
22
- TRAVIS_BOARDS : ' circuitplayground_express_crickit circuitplayground_express metro_m0_express sparkfun_redboard_turbo hallowing_m0_express itsybitsy_m0_express feather_m0_express_crickit feather_m0_express'
65
+ samd_m0_express_boards1 :
66
+ TRAVIS_BOARDS : ' circuitplayground_express_crickit circuitplayground_express feather_m0_express_crickit feather_m0_express'
67
+ samd_m0_express_boards2 :
68
+ TRAVIS_BOARDS : ' metro_m0_express sparkfun_redboard_turbo hallowing_m0_express itsybitsy_m0_express'
23
69
nrf_boards :
24
70
TRAVIS_BOARDS : ' pca10056 pca10059 makerdiary_nrf52840_mdk makerdiary_nrf52840_mdk_usb_dongle particle_boron particle_argon particle_xenon sparkfun_nrf52840_mini'
25
71
nrf_express_boards :
26
72
TRAVIS_BOARDS : ' feather_nrf52840_express'
27
73
samd_m4_boards :
28
74
TRAVIS_BOARDS : ' mini_sam_m4'
29
- samd_m4_express_boards :
30
- TRAVIS_BOARDS : ' grandcentral_m4_express metro_m4_express trellis_m4_express pybadge sam32 itsybitsy_m4_express feather_m4_express pyportal'
75
+ samd_m4_express_boards1 :
76
+ TRAVIS_BOARDS : ' sam32 itsybitsy_m4_express feather_m4_express pyportal'
77
+ samd_m4_express_boards2 :
78
+ TRAVIS_BOARDS : ' grandcentral_m4_express metro_m4_express trellis_m4_express pybadge'
31
79
32
80
steps :
33
81
- checkout : self
@@ -55,46 +103,6 @@ jobs:
55
103
python3 -u build_release_files.py
56
104
displayName: 'Build board'
57
105
workingDirectory: 'tools'
58
- - job : Test
59
- pool :
60
- vmImage : ' Ubuntu-16.04'
61
- steps :
62
- - checkout : self
63
- submodules : recursive
64
- # - bash: |
65
- # wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb
66
- # sudo dpkg -i gcc-arm-embedded*_amd64.deb
67
- # displayName: 'Install ARM GCC'
68
- - bash : |
69
- sudo apt-get install gettext
70
- displayName: 'Install native deps'
71
- - bash : |
72
- sudo apt-get install -y python3-pip
73
- pip3 install --user sh click Sphinx sphinx-rtd-theme recommonmark polib
74
- pip3 install --upgrade --user cpp-coveralls
75
- displayName: 'Install python deps'
76
- - bash : |
77
- gcc --version
78
- arm-none-eabi-gcc --version
79
- python3 --version
80
- displayName: 'Print versions'
81
- - bash : |
82
- make -C mpy-cross -j2
83
- displayName: 'Build mpy-cross'
84
- - bash : |
85
- make -C ports/unix deplibs -j2
86
- make -C ports/unix -j2
87
- make -C ports/unix coverage -j2
88
- displayName: 'Build unix'
89
- workingDirectory: 'tools'
90
- - bash : |
91
- MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
92
- displayName: 'Test all'
93
- workingDirectory: 'tests'
94
- - bash : |
95
- MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread
96
- displayName: 'Test threads'
97
- workingDirectory: 'tests'
98
106
99
107
#
100
108
# - echo 'Testing with native' && echo 'travis_fold:start:test_native'
0 commit comments