Skip to content

Commit 35f117c

Browse files
committed
this rabbit hole is deep
1 parent 79e6108 commit 35f117c

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.travis.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ language: python
33
python:
44
- '3.6'
55

6+
stages:
7+
- name: Tests
8+
if: type = pull_request
9+
- deploy
10+
611
jobs:
712
include:
813
- stage: Tests
14+
name: "Test CircuitPython Bundle"
915
python: "3.6"
10-
- script:
16+
script:
1117
- echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
1218
- python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
1319
- echo "travis_fold:end:mpy-cross"
@@ -17,19 +23,17 @@ jobs:
1723
- echo "travis_fold:end:clone"
1824
- cd Adafruit_CircuitPython_Bundle
1925
- circuitpython-build-bundles --filename_prefix test-bundle --library_location libraries --library_depth 2
20-
name: "Test CircuitPython Bundle"
21-
if: type = pull_request
2226

23-
- script:
27+
- stage: Tests
28+
name: "Test Sinble Library Bundle"
29+
script:
2430
- echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
2531
- python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
2632
- echo "travis_fold:end:mpy-cross"
2733
- pip install -e .
2834
- git clone https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git
2935
- cd Adafruit_CircuitPython_FeatherWing
3036
- circuitpython-build-bundles --filename_prefix test-single --library_location .
31-
name: "Test CircuitPython Bundle"
32-
if: type = pull_request
3337

3438
- stage: deploy
3539
script:

0 commit comments

Comments
 (0)