@@ -3,24 +3,17 @@ language: python
33python :
44- ' 3.6'
55
6- before_deploy :
7- script :
8- - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
6+ stages :
7+ - name : Tests
8+ if : type = pull_request
9+ - name : deploy
10+ if : tag IS present
911
10- deploy :
11- provider : pypi
12- user : " adafruit-travis"
13- password :
14- secure : tCjXwD8YeitG0HZLxW1D1QlVv4Xbj8mfRoqW0CM9ikPp3KY1PCz6Axj0PiOcyVwKdnxcUQ0EGRl16wEqwkObrmo9MboYrPuPqN00ULmyCQCRvJa2abIN6jDoLtBuf6bcze88t0XY2LdMOcj2Udv5Iijgf95zUgE+Z6BqT9Rgche78JEOeANJ7BlAJ6nRCA4whDdG7J9s7SmFtIjKWtMxig2J3X+Qy0bZ+Armtfp9/CRvjLJ8juDrcCBSysWLnAYLS4u8e/rbSTh8YwFeoeJ1pp9qSmME5NuwScY18QmfESNSqz8wVVXtAFKdoMOCoN+/CodTxp9aB0QsXX6yOYg74ahDIaci239wgnuUqxSaeLxeSwWkkVCXWdQVuP4vgq3GZwm2yNOQ1ZjfFbXF156yv0uSVw5nuaxv0YblQTinJtL4x9hwOdPDJio3b6UT3H1ue9l1qK0LT2OSkzDgn12WmTnTfRUH3BkU6onsYsdP33PK1YhepeQnfbT1P3ikrRHIwGYb7XqcjOtJh413kid6YezCXRqccl8kAxegnqX+cQG7K9ilpZtWaVYLu4RRBJ37H4vpuOb3SV686Y62sWPUXEbI3MR1OxU+RrRr/9DCH1EFXnlYT9LF986wXFJtWuSc+pbXuxY7qduai0hn5Pft6XH31exyiOwAHBIFeYebnVM=
15- skip_cleanup : true
16- on :
17- tags : true
18-
19- matrix :
12+ jobs :
2013 include :
21- - python : " 3.6 "
14+ - stage : Tests
2215 name : " Test CircuitPython Bundle"
23- if : type = pull_request
16+ python : " 3.6 "
2417 script :
2518 - echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
2619 - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
@@ -32,9 +25,8 @@ matrix:
3225 - cd Adafruit_CircuitPython_Bundle
3326 - circuitpython-build-bundles --filename_prefix test-bundle --library_location libraries --library_depth 2
3427
35- - python : " 3.6 "
28+ - stage : Tests
3629 name : " Test Single Library Bundle"
37- if : type = pull_request
3830 script :
3931 - echo "Building mpy-cross" && echo "travis_fold:start:mpy-cross"
4032 - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
@@ -43,3 +35,13 @@ matrix:
4335 - git clone https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git
4436 - cd Adafruit_CircuitPython_FeatherWing
4537 - circuitpython-build-bundles --filename_prefix test-single --library_location .
38+
39+ - stage : deploy
40+ script :
41+ - python3 -u -m circuitpython_build_tools.scripts.build_mpy_cross circuitpython_build_tools/data/
42+ deploy :
43+ provider : pypi
44+ user : " adafruit-travis"
45+ password :
46+ secure : tCjXwD8YeitG0HZLxW1D1QlVv4Xbj8mfRoqW0CM9ikPp3KY1PCz6Axj0PiOcyVwKdnxcUQ0EGRl16wEqwkObrmo9MboYrPuPqN00ULmyCQCRvJa2abIN6jDoLtBuf6bcze88t0XY2LdMOcj2Udv5Iijgf95zUgE+Z6BqT9Rgche78JEOeANJ7BlAJ6nRCA4whDdG7J9s7SmFtIjKWtMxig2J3X+Qy0bZ+Armtfp9/CRvjLJ8juDrcCBSysWLnAYLS4u8e/rbSTh8YwFeoeJ1pp9qSmME5NuwScY18QmfESNSqz8wVVXtAFKdoMOCoN+/CodTxp9aB0QsXX6yOYg74ahDIaci239wgnuUqxSaeLxeSwWkkVCXWdQVuP4vgq3GZwm2yNOQ1ZjfFbXF156yv0uSVw5nuaxv0YblQTinJtL4x9hwOdPDJio3b6UT3H1ue9l1qK0LT2OSkzDgn12WmTnTfRUH3BkU6onsYsdP33PK1YhepeQnfbT1P3ikrRHIwGYb7XqcjOtJh413kid6YezCXRqccl8kAxegnqX+cQG7K9ilpZtWaVYLu4RRBJ37H4vpuOb3SV686Y62sWPUXEbI3MR1OxU+RrRr/9DCH1EFXnlYT9LF986wXFJtWuSc+pbXuxY7qduai0hn5Pft6XH31exyiOwAHBIFeYebnVM=
47+ skip_cleanup : true
0 commit comments