-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
33 lines (29 loc) · 949 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
29
30
31
32
33
os: osx
language: cpp
compiler:
- clang
before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install grep
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | ggrep 'binutils'
then
echo "SKIP conan build for other packages"
set +e
pkill -9 -P $$ &> /dev/null || true
exit $1
fi
install:
- .ci/install.sh
script:
- conan config install https://github.com/includeos/conan_config.git
- conan create dependencies/gnu/binutils/2.31 binutils/2.31@includeos/latest -pr apple-clang-10-macos-toolchain
- conan search binutils/2.31@includeos/latest
- |
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]];
then
conan upload --all binutils/2.31@includeos/latest -r includeos
fi
if [ -n "$TRAVIS_TAG" ]; then
conan copy --all binutils/2.31@includeos/latest includeos/toolchain
conan upload --all binutils/2.31@includeos/toolchain -r includeos
fi