Browse Source

Configure travis releases

softuart
Xose Pérez 6 years ago
parent
commit
7e8672a660
1 changed files with 19 additions and 9 deletions
  1. +19
    -9
      .travis.yml

+ 19
- 9
.travis.yml View File

@ -1,16 +1,26 @@
language: python
python:
- "2.7"
- '2.7'
sudo: false
cache:
directories:
- "~/.platformio"
directories:
- "~/.platformio"
install:
- pip install -U platformio
- cd code ; npm install --only=dev ; cd ..
- pip install -U platformio
- cd code ; npm install --only=dev ; cd ..
script:
- cd code ; ./build.sh
- cd code ; ./build.sh
branches:
only:
- master
- dev
only:
- master
- dev
deploy:
provider: releases
api_key:
secure: LMCdaQnCxSQ5EuKhqcFR6VTfDCWc06jwD4fdHfkmBaeWBMMzdoZEqN26AwdTnoLLlQJTR9l21NypgGybssBr69Md/ZinMahWCJJ4gVzPe9Adr9ijRbzj/wckirLBVZjRWn8fxTjJgjpu1ten2CgBfNcc/roN3fI6DV/1Fvv1REfihND4EeIermsxIVRXOyluu1vnPV9ZM28XBNch9XfkKwIpLEaHNNtkzlSEua39U34WpZShrxxEVoZhiF/R1ZF+NiAnursPcPsn5hdrXyHFLFT2dVDnlpdIp79c6SGkCZ636//5erB6hgBHshbwuT9TYXxtwLyL7AeN/MfCg0gtZSsDII8mLKzytW1tl7r1W9l7s21z/55tljSz2Z6dcbJC3bxucgcLxM9R6PrsPdDrPQTd0QwYqYalMNlfuA8KGcesZueqI9Q4uw7uHFUwIp7FIaoKhwhjTKe/ZHZ75zU4wdBTXof4dnSQOudoGGjRyyj7V0eR/Mhuni45N2Bldy9hDaldgtWMuEdx3ABW1IrPXtPDVTXM6QjUHm0nj5zzCgoCvQEw3jycA7Wlgbzo8MQkKH3u4MtupJcEGHJAqMbk+JlRpIfdWTiqtI697CReRGYSWT6YxF68TeJo77JPPph724BIBMtKtIk2+4RkHxz5RqM8O2vt+AFNjnWNIvVQtY8=
file_glob: true
file: "firmware/*/*.bin"
skip_cleanup: true
on:
branch: master
tags: true

Loading…
Cancel
Save