Commit ef40004c authored by Dr.李's avatar Dr.李

sorry, the import is wrong

parent 573028c3
......@@ -9,7 +9,14 @@ addons:
- gcc
- g++
# command to install dependencies
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-4.8
- export CC="gcc-4.8"
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"
# We do this conditionally because it saves us some downloading if the
# version is the same.
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
......
......@@ -5,9 +5,11 @@ Created on 2017-4-25
@author: cheng.li
"""
from alphamind.utilities import add_parent_path
import os
import sys
add_parent_path(__file__, 3)
current_path = os.path.abspath(__file__)
sys.path.append(os.path.sep.join(current_path.split(os.path.sep)[:-3]))
from alphamind.tests.data.test_neutralize import TestNeutralize
from alphamind.tests.data.test_standardize import TestStandardize
......
......@@ -32,7 +32,7 @@ def generate_extensions(ext_modules, line_trace=False):
else:
define_macros = []
if platform.system() != "Windows":
extra_compile_args = ['-O3', '-std=c++0x']
extra_compile_args = ['-O3', '-std=c++11']
else:
extra_compile_args = ['/Ox']
for pyxfile in ext_modules:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment