-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
28 lines (28 loc) · 1002 Bytes
/
.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
dist: trusty
sudo: required
language: generic
cache:
- apt
before_install:
- mkdir -p "${HOME}/workspace/src"
- cd "${HOME}/workspace"
- curl -sSo distribution.yml "${DISTRIBUTION}"
- git clone https://github.com/personalrobotics/pr-cleanroom.git scripts
- "./scripts/internal-setup.sh"
- export PACKAGE_NAMES="$(./scripts/internal-get-packages.py distribution.yml ${REPOSITORY})"
install:
- mv "${TRAVIS_BUILD_DIR}" src
- ./scripts/internal-distro.py --workspace=src distribution.yml --repository "${REPOSITORY}"
script:
- "./scripts/internal-build.sh ${PACKAGE_NAMES}"
- travis_wait 40 ./scripts/internal-test.sh ${PACKAGE_NAMES}
after_script:
- "./scripts/view-all-results.sh test_results"
notifications:
email:
on_success: never
on_failure: change
slack:
on_success: always
on_failure: always
secure: hJxBjqF/7HjRcOn5fu7wHiD+xFfGps3i8VfOBvHyJlO3kw4hjy5PDY5fpv3erZgs962YYhrLK4ezfJba8uFsqC6zxh0OtZkS1MLgBUVWqgfNNnHe9pm/q/v6F/Nv/F5hSdiidUb4ux1CPWmcVSGw27MyIF03apcuMRToS52l+qk=