Skip to content

Commit

Permalink
this rabbit hole is deep
Browse files Browse the repository at this point in the history
  • Loading branch information
sommersoft committed May 17, 2019
1 parent 79e6108 commit 35f117c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ language: python
python:
- '3.6'

stages:
- name: Tests
if: type = pull_request
- deploy

jobs:
include:
- stage: Tests
name: "Test CircuitPython Bundle"
python: "3.6"
- script:
script:
- echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
- python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
- echo "travis_fold:end:mpy-cross"
Expand All @@ -17,19 +23,17 @@ jobs:
- echo "travis_fold:end:clone"
- cd Adafruit_CircuitPython_Bundle
- circuitpython-build-bundles --filename_prefix test-bundle --library_location libraries --library_depth 2
name: "Test CircuitPython Bundle"
if: type = pull_request

- script:
- stage: Tests
name: "Test Sinble Library Bundle"
script:
- echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
- python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
- echo "travis_fold:end:mpy-cross"
- pip install -e .
- git clone https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git
- cd Adafruit_CircuitPython_FeatherWing
- circuitpython-build-bundles --filename_prefix test-single --library_location .
name: "Test CircuitPython Bundle"
if: type = pull_request

- stage: deploy
script:
Expand Down

0 comments on commit 35f117c

Please sign in to comment.