File tree Expand file tree Collapse file tree 1 file changed +32
-4
lines changed
Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change 1- sudo : false
2- dist : trusty
1+ dist : xenial
32language : python
43python :
54- ' 3.6'
6- script :
7- - python3 -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
85
6+ before_deploy :
7+ script :
8+ - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
99
1010deploy :
1111 provider : pypi
@@ -15,3 +15,31 @@ deploy:
1515 skip_cleanup : true
1616 on :
1717 tags : true
18+
19+ matrix :
20+ include :
21+ - python : " 3.6"
22+ name : " Test CircuitPython Bundle"
23+ if : type = pull_request
24+ script :
25+ - echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
26+ - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
27+ - echo "travis_fold:end:mpy-cross"
28+ - pip install -e .
29+ - echo "Cloning Adafruit_CircuitPython_Bundle" && echo "travis_fold:start:clone"
30+ - git clone --recurse-submodules https://github.com/adafruit/Adafruit_CircuitPython_Bundle.git
31+ - echo "travis_fold:end:clone"
32+ - cd Adafruit_CircuitPython_Bundle
33+ - circuitpython-build-bundles --filename_prefix test-bundle --library_location libraries --library_depth 2
34+
35+ - python : " 3.6"
36+ name : " Test Single Library Bundle"
37+ if : type = pull_request
38+ script :
39+ - echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
40+ - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
41+ - echo "travis_fold:end:mpy-cross"
42+ - pip install -e .
43+ - git clone https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git
44+ - cd Adafruit_CircuitPython_FeatherWing
45+ - circuitpython-build-bundles --filename_prefix test-single --library_location .
You can’t perform that action at this time.
0 commit comments