Ver a proveniência

Changed command line argument to support older g++ versions

Fixing-travis-yml
BinHong Lee há 7 anos
ascendente
cometimento
08191e2766
3 ficheiros alterados com 3 adições e 3 eliminações
  1. +0
    -1
      .travis.yml
  2. +1
    -1
      build.xml
  3. +2
    -1
      install.sh

+ 0
- 1
.travis.yml Ver ficheiro

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

+ 1
- 1
build.xml Ver ficheiro

@@ -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 Ver ficheiro

@@ -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


Carregando…
Cancelar
Guardar