diff options
author | William Deegan <bill@baddogconsulting.com> | 2020-05-18 17:19:19 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2020-05-18 17:19:19 (GMT) |
commit | e17c6fee560cc6cdc14893f5b3453a8a4664bb05 (patch) | |
tree | f785774138f3d6dbf683d3fc6db99cf6e505eb1d /.travis/install.sh | |
parent | 41bb0ffdb731767f7d251a8fa314820d02aa9c44 (diff) | |
download | SCons-e17c6fee560cc6cdc14893f5b3453a8a4664bb05.zip SCons-e17c6fee560cc6cdc14893f5b3453a8a4664bb05.tar.gz SCons-e17c6fee560cc6cdc14893f5b3453a8a4664bb05.tar.bz2 |
Update LDC version, remove py27 bits, add rpm
Diffstat (limited to '.travis/install.sh')
-rwxr-xr-x | .travis/install.sh | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index 64a300b..29b9caa 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -19,6 +19,9 @@ else sudo ln -s /usr/local/clang-5.0.0/bin/clang++ /usr/bin/clang++ fi + # dependencies for rpm packaging tests + sudo apt-get -y install rpm + # dependencies for gdc tests sudo apt-get -y install gdc @@ -42,17 +45,11 @@ else sudo apt-get update && sudo apt-get -y --allow-unauthenticated install dmd-bin # dependencies for ldc tests - wget https://github.com/ldc-developers/ldc/releases/download/v1.15.0/ldc2-1.15.0-linux-x86_64.tar.xz - tar xf ldc2-1.15.0-linux-x86_64.tar.xz - sudo cp -rf ldc2-1.15.0-linux-x86_64/* / + export SCONS_LDC_VERSION=1.21.0 + wget https://github.com/ldc-developers/ldc/releases/download/v${SCONS_LDC_VERSION}/ldc2-${SCONS_LDC_VERSION}-linux-x86_64.tar.xz +# wget https://github.com/ldc-developers/ldc/releases/download/v1.15.0/ldc2-1.15.0-linux-x86_64.tar.xz + tar xf ldc2-${SCONS_LDC_VERSION}-linux-x86_64.tar.xz + sudo cp -rf ldc2-${SCONS_LDC_VERSION}-linux-x86_64/* / ls -l /usr/lib/*python*{so,a}* - - # For now skip swig if py27 - if [[ "$PYVER" == 27 ]]; then - # dependencies for swig tests - wget https://github.com/swig/swig/archive/rel-3.0.12.tar.gz - tar xzf rel-3.0.12.tar.gz - cd swig-rel-3.0.12 && ./autogen.sh && ./configure --prefix=/usr && make && sudo make install && cd .. - fi fi |