This repository has been archived by the owner on Jan 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (28 loc) · 1.69 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: cpp
dist: xenial
# The encrypted webhook URL
env:
global:
secure: "kKcz0JxivqZBRNf5tYMmeKOnv9F9UjsDy5aNOu5IUYxgCNEfFLTfBti2spgLf9BnhEXBVYIHpG/d+253Y6+RJfQdM6Y67RMeAQqIXNoHpEPu01OHR0AYTClIyXn7xer+yr6fh5vKvSU7Mm72So2HfZijDM57I95FHI9T4kURm/ehNhecIjbDB4edokG9bNO9KeBjmaV9HqqUZsRlnLldjmP4Noq0vKE2yxwUfRrV9Zu2GtwH9CC/Lta26LsvFnuoEY4o3bJwa9mwqy8/GG34OH749SYgitZGED9sSCeFQT7oF9NgoI74o2QYMGiaOUiR2oXJ3iKVNDpfUPDZFKnx3zj/GyRDfijp9J8JDKknDXyT6sVjPX7BJ1VZrwchMd6GGq74fBiKrYZVyktCx/nBmehYrx1MBxUl3bAUuuzPBY9lBdDnXJ6PrM4hPG2LwxJwyOENG4Z3oFZ09GjD3U7qzf7883gmSVfIR56x48UYn8LFsiem/IryiD4wPZxDzf5v6eqFCKXrL1Gk8SCabrZOVKsTmvH8fbUdUnty7RO/CnwfNDz8gr9MkavwYAVLsbEgSwpSbntvzGc3RbG/M/SMyxAlsLDlV8NTmBFN0GUFjnGrcNTcGCUTptbtVSj6VCw2CIwCgMkp/IQ5XX/SaYajgPKJe3WifHlmKFcELqGjw5k="
services:
- docker
before_install:
- tar -czvf frc-2019-jetson-src.tar.gz src
- docker pull ros:kinetic-perception-xenial
script:
- docker build --build-arg projecttarball=./frc-2019-jetson-src.tar.gz -t arctos:ros-build .
- echo "Done."
after_success:
- export SHORT_COMMIT=${TRAVIS_COMMIT:0:7}
- >
curl --request 'POST'
--header 'Content-Type: text/plain; charset=utf-8'
--data "✅ **SUCCESS** ✅ The latest commit pushed to **frc-2019-jetson** (commit *$SHORT_COMMIT* on branch *$TRAVIS_BRANCH*) has [**passed** CI checks]($TRAVIS_JOB_WEB_URL)!"
$WEBHOOK_URL
after_failure:
- export SHORT_COMMIT=${TRAVIS_COMMIT:0:7}
- >
curl --request 'POST'
--header 'Content-Type: text/plain; charset=utf-8'
--data "❌ **ERROR** ❌ The latest commit pushed to **frc-2019-jetson** (commit *$SHORT_COMMIT* on branch *$TRAVIS_BRANCH*) has [**failed** CI checks]($TRAVIS_JOB_WEB_URL)!"
$WEBHOOK_URL