Fix missing semicolon in travis file + use C++17 in CI build

This commit is contained in:
Twarit
2020-03-30 13:34:35 +05:30
parent db05e54d00
commit 0388ca39d5
2 changed files with 2 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ install:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
curl -LO https://downloads.sourceforge.net/project/scons/scons-local/3.0.5/scons-local-3.0.5.zip;
unzip scons-local-3.0.5.zip;
choco install visualstudio2017-workload-vctools -y
choco install visualstudio2017-workload-vctools -y;
fi
script:

View File

@@ -48,7 +48,7 @@ if env['platform'] == "osx":
env.Append(CCFLAGS = ['-g','-O2', '-arch', 'x86_64'])
env.Append(LINKFLAGS = ['-arch', 'x86_64'])
else:
env.Append(CCFLAGS = ['-g','-O3', '-arch', 'x86_64'])
env.Append(CCFLAGS = ['-g','-O3', '-arch', 'x86_64', '-std=c++17'])
env.Append(LINKFLAGS = ['-arch', 'x86_64'])
elif env['platform'] in ('x11', 'linux'):
@@ -81,7 +81,6 @@ else:
cpp_library += '.release'
env['target_path'] += 'release/'
env.Append(CXXFLAGS = '-std=c++17')
cpp_library += '.' + str(bits)
# make sure our binding library properly includes