Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit cadae0d

Browse files
committed
Merge pull request #214 from axw/llgo-travis-ci
Add Travis-CI build config
2 parents de1350a + 6b42518 commit cadae0d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: go
2+
go:
3+
- 1.3.1
4+
env:
5+
- APT_GET='apt-get --option=Dpkg::Options::=--force-confold --option=Dpkg::options::=--force-unsafe-io --assume-yes --quiet'
6+
before_install:
7+
- sudo add-apt-repository -y ppa:kalakris/cmake # install newer cmake
8+
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # install newer gcc
9+
- sudo $APT_GET update
10+
- sudo $APT_GET install mercurial git subversion cmake gcc-4.8 g++-4.8
11+
- export CXX=g++-4.8 CC=gcc-4.8
12+
install:
13+
- go get -d github.com/go-llvm/llvm
14+
- $(go list -f '{{.Dir}}' github.com/go-llvm/llvm)/update_llvm.sh -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host
15+
- make install prefix=`pwd`/.install
16+
script:
17+
- make check-llgo check-libgo
18+
notifications:
19+
email:
20+
recipients:
21+
22+
on_success: change
23+
on_failure: always

0 commit comments

Comments
 (0)