From 7e8672a660a51e516bf1a24b7fe8aa7865d40110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 28 Jan 2018 22:45:14 +0100 Subject: [PATCH] Configure travis releases --- .travis.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index a93937b7..e533bb48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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