Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
alpha-mind
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dr.李
alpha-mind
Commits
ef40004c
Commit
ef40004c
authored
May 07, 2017
by
Dr.李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sorry, the import is wrong
parent
573028c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
.travis.yml
.travis.yml
+7
-0
test_suite.py
alphamind/tests/test_suite.py
+4
-2
setup.py
setup.py
+1
-1
No files found.
.travis.yml
View file @
ef40004c
...
@@ -9,7 +9,14 @@ addons:
...
@@ -9,7 +9,14 @@ addons:
-
gcc
-
gcc
-
g++
-
g++
# command to install dependencies
# command to install dependencies
before_install
:
-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
-
sudo apt-get update -qq
install
:
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
# We do this conditionally because it saves us some downloading if the
# version is the same.
# version is the same.
-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
...
...
alphamind/tests/test_suite.py
View file @
ef40004c
...
@@ -5,9 +5,11 @@ Created on 2017-4-25
...
@@ -5,9 +5,11 @@ Created on 2017-4-25
@author: cheng.li
@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_neutralize
import
TestNeutralize
from
alphamind.tests.data.test_standardize
import
TestStandardize
from
alphamind.tests.data.test_standardize
import
TestStandardize
...
...
setup.py
View file @
ef40004c
...
@@ -32,7 +32,7 @@ def generate_extensions(ext_modules, line_trace=False):
...
@@ -32,7 +32,7 @@ def generate_extensions(ext_modules, line_trace=False):
else
:
else
:
define_macros
=
[]
define_macros
=
[]
if
platform
.
system
()
!=
"Windows"
:
if
platform
.
system
()
!=
"Windows"
:
extra_compile_args
=
[
'-O3'
,
'-std=c++
0x
'
]
extra_compile_args
=
[
'-O3'
,
'-std=c++
11
'
]
else
:
else
:
extra_compile_args
=
[
'/Ox'
]
extra_compile_args
=
[
'/Ox'
]
for
pyxfile
in
ext_modules
:
for
pyxfile
in
ext_modules
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment