Browse Source

fix gitlab-ci

ci-test
Hendrik Langer 5 years ago
parent
commit
9401a830dd
  1. 8
      .gitlab-ci.yml

8
.gitlab-ci.yml

@ -1,13 +1,13 @@
stages: stages:
- build - build
- deploy - deploy
build: build:
stage: build stage: build
image: python:2.7 image: python:2.7
before_script: before_script:
- pip install -U platformio - pip install -U platformio
- platformio update - platformio update
script: script:
- platformio ci --project-conf platformio.ini --board=lolin_d32_pro - platformio ci --project-conf platformio.ini --board=lolin_d32_pro
# - cp ~/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin .pioenvs/lolin_d32_pro/ # - cp ~/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin .pioenvs/lolin_d32_pro/
@ -33,4 +33,4 @@ deploy:
- scp .pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}" - scp .pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}"
when: manual when: manual
only: only:
- master - master

Loading…
Cancel
Save