-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (33 loc) · 792 Bytes
/
.travis.yml
File metadata and controls
42 lines (33 loc) · 792 Bytes
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
35
36
37
38
39
40
41
42
os: osx
osx_image: xcode10.2
language: bash
git:
depth: false
before_cache:
- brew cleanup
cache:
- directories:
- $HOME/Library/Caches/Homebrew
before_install:
- brew tap includeos/includeos
install:
- brew install includeos
- conan --version
before_script:
- conan config install https://github.com/includeos/conan_config.git
- git clone https://github.com/includeos/hello_world
script:
- conan install hello_world -pr clang-6.0-macos-x86_64
- source activate.sh
- cmake hello_world
- cmake --build .
- gtimeout 7 boot hello > hello_log.txt || true
- |
if grep -F "Running [ Hello world - OS included ]" hello_log.txt
then
echo "Hello World - Success! :)"
else
echo "Failed :("
fi
after_script:
- source deactivate.sh