Skip to content

Commit

Permalink
Fix Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
apocolipse committed Sep 26, 2018
1 parent 805177d commit afa864f
Showing 1 changed file with 44 additions and 34 deletions.
78 changes: 44 additions & 34 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
os:
- linux

sudo: false

dist: trusty

addons:
apt:
packages:
- lcov
- build-essential
- git
- libc6-i386
- time
- libblocksruntime-dev

git:
depth: 5

# We use cpp for unit tests, and c for the main project.
language: cpp
compiler: clang

env:
# - PUBLISHMETA=True
Expand All @@ -41,6 +18,35 @@ env:
# - TARGET=AIORACERF3
# - TARGET=...

# use new docker environment
sudo: false

git:
depth: 5

addons:
apt:
packages:
- lcov
- build-essential
- git
- libc6-i386
- time
- libblocksruntime-dev
artifacts:
s3_region: "us-west-2"
paths:
- $(ls obj/*.hex | tr "\n" ":")
- $(ls obj/*.bin | tr "\n" ":")
target_paths:
- /$TRAVIS_BUILD_NUMBER/Butterflight/


# We use cpp for unit tests, and c for the main project.
language: cpp
compiler: clang
dist: trusty

before_install:
- pip install --user cpp-coveralls
- gem install coveralls-lcov
Expand All @@ -49,25 +55,29 @@ install:
- make arm_sdk_install

before_script:
- make arm_sdk_version
- tools/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc --version
- clang --version
- clang++ --version
- gcc --version
- export V=0

script: ./.travis.sh

cache:
timeout: 1000
directories:
- downloads
- tools

notifications:
slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
webhooks:
urls:
- https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always

#notifications:
# irc: "chat.freenode.net#cleanflight"
# use_notice: true
# skip_join: true

#notifications:
# slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
# webhooks:
# urls:
# - https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
# on_success: always # options: [always|never|change] default: always
# on_failure: always # options: [always|never|change] default: always
# on_start: always # options: [always|never|change] default: always

0 comments on commit afa864f

Please sign in to comment.