forked from pybee/sealang
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9a2bc9
commit b684857
Showing
1 changed file
with
2 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,30 +16,16 @@ install: | |
- sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main" --yes | ||
- sudo apt-get update | ||
- sudo apt-get install libclang1-3.5 libclang-common-3.5-dev --yes --force-yes | ||
- sudo echo `echo "/usr/lib/llvm-3.5/lib/" >> /etc/ld.so.conf.d/llvm-dev.conf` | ||
|
||
# Fixes libclang installation because libclang is named in Ubuntu 12.04 to 14.10 as libclang.so.1, | ||
# however python-clang expects the library is named libclang.so | ||
# libclang.so is hardcoded in https://github.com/trolldbois/python-clang/blob/master/clang/cindex.py#L3361 | ||
- sudo ln -v -s /usr/lib/x86_64-linux-gnu/libclang.so.1 /usr/lib/x86_64-linux-gnu/libclang.so | ||
- sudo ln -v -s /usr/lib/x86_64-linux-gnu/libclang-3.5.so.1 /usr/lib/x86_64-linux-gnu/libclang.so | ||
- sudo ldconfig | ||
|
||
# tests dependencies | ||
# - pip install nose | ||
|
||
script: | ||
# uncomment the following lines to test update.sh script with a old Clang source code copy | ||
# - CURRENT=`pwd` | ||
# - git config --global user.email "[email protected]" | ||
# - git config --global user.name "Fake User" | ||
# - git config --global push.default simple | ||
# - mkdir -p /tmp/clang_git/ | ||
# - cd /tmp/clang_git | ||
# - git clone --recursive https://github.com/llvm-mirror/clang.git clang | ||
# - cd /tmp/clang_git/clang | ||
# - git reset --hard 017669cb0ce9a0a58cb2ce7fc72dfad228ed3c19 | ||
# - cd $CURRENT | ||
# - bash update.sh | ||
|
||
# run tests | ||
- python setup.py test | ||
|
||
|