Skip to content

Commit

Permalink
i think thats it
Browse files Browse the repository at this point in the history
  • Loading branch information
trolldbois committed Jan 23, 2015
1 parent f9a2bc9 commit b684857
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b684857

Please sign in to comment.