forked from shadow-robot/build-servers-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildspec.yml
21 lines (20 loc) · 798 Bytes
/
buildspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: 0.2
env:
variables:
ubuntu_version: "trusty"
ros_release: "indigo"
travis_repo_dir: "/home/user/workspace/src/"
travis_is_pull_request: "false"
phases:
build:
commands:
- echo Build started on `date`
- env
- ls -la /home/user
- cp -r $CODEBUILD_SRC_DIR/* /home/user/workspace/src/
- cd /home/user/sr-build-tools/ansible && git pull && git checkout master && sudo PYTHONUNBUFFERED=1 ansible-playbook -e travis_repo_dir=$travis_repo_dir -e travis_is_pull_request=false -e codecov_secure=codecov_secure -v -i "localhost," -c local docker_site.yml --tags "travis,check_cache,check_build,code_style_check,check_deb_make,codecov_tool"
artifacts:
files:
- 'codecoverage/*'
- 'testresults/*'
base-directory: '/root/workspace'