Skip to content

Commit 0ee6f4c

Browse files
authored
Merge pull request #3 from staiyeba/travis-ci
ci: travis ci pipeline for macos test deploy
2 parents b8a9b49 + 3b11fc8 commit 0ee6f4c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
os: osx
2+
language: bash
3+
4+
git:
5+
depth: false
6+
7+
before_install:
8+
- brew tap includeos/includeos
9+
10+
install:
11+
- brew install includeos
12+
- conan --version
13+
14+
before_script:
15+
- conan config install https://github.com/includeos/conan_config.git
16+
- git clone https://github.com/includeos/hello_world
17+
18+
script:
19+
- conan install hello_world -pr clang-6.0-macos-x86_64
20+
- source activate.sh
21+
- cmake hello_world
22+
- cmake --build .
23+
- gtimeout 7 boot hello > hello_log.txt || true
24+
- |
25+
if grep -F "Running [ Hello world - OS included ]" hello_log.txt
26+
then
27+
echo "Hello World - Success! :)"
28+
else
29+
echo "Failed to reach Success :("
30+
fi
31+
32+
after_script:
33+
- source deactivate.sh

0 commit comments

Comments
 (0)