Browse Source

Changed command line argument to support older g++ versions

Fixing-travis-yml
BinHong Lee 7 years ago
parent
commit
08191e2766
3 changed files with 3 additions and 3 deletions
  1. +0
    -1
      .travis.yml
  2. +1
    -1
      build.xml
  3. +2
    -1
      install.sh

+ 0
- 1
.travis.yml View File

@@ -1,5 +1,4 @@
sudo: required
g++: 4.8
language: cpp
install: ./install.sh
script: ant test

+ 1
- 1
build.xml View File

@@ -82,7 +82,7 @@
<cc name="g++" outtype="executable" subsystem="console"
outfile="${dist.dir}/main"
objdir="${obj.dir}">
<compilerarg location="start" value="-std=c++11"/>
<compilerarg location="start" value="-std=c++0x"/>
<includepath>
<pathelement path="${includepath}"/>
</includepath>


+ 2
- 1
install.sh View File

@@ -1,4 +1,5 @@
sudo apt-get install libjsonrpccpp-dev libjsonrpccpp-tools
sudo apt-get install libjsonrpccpp-dev libjsonrpccpp-tools libjsoncpp-dev
brew install libjson-rpc-cpp
cp lib/anttasks.jar ~
pushd ~
jar xf anttasks.jar


Loading…
Cancel
Save