Skip to content

Commit 6008f8b

Browse files
committed
Merge branch 'release/v0.4.0'
2 parents 5b5b422 + 5f7cfa1 commit 6008f8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1069
-424
lines changed

.travis.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ matrix:
1111
include:
1212
- env: TEST=standard
1313
os: linux
14-
- env: TEST=minimal
15-
os: linux
16-
- env: TEST=examples
14+
- env: TEST=flake
1715
os: linux
16+
# - env: TEST=examples
17+
# os: linux
1818
# - env: TEST=standard
1919
# os: osx
2020
# language: generic
2121
allow_failures:
22-
- env: TEST=minimal
22+
- env: TEST=flake
2323

2424

2525
before_install:
@@ -46,11 +46,11 @@ install:
4646
- source activate testenv
4747
# Install dependencies :
4848
- if [ "${TEST}" == "standard" ]; then
49-
pip install codecov pytest pytest-cov pytest-sugar pytest-travis-fold openpyxl;
49+
pip install codecov pytest pytest-cov pytest-sugar pytest-travis-fold openpyxl xlrd;
5050
pip install mne nibabel pandas tensorpac;
5151
pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt;
5252
fi;
53-
- if [ "${TEST}" == "minimal" ]; then
53+
- if [ "${TEST}" == "flake" ]; then
5454
pip install flake8 pep8-naming;
5555
fi;
5656
# - pip install PyOpenGL PyOpenGL_accelerate
@@ -69,7 +69,7 @@ before_script:
6969
script:
7070
- if [[ "${TEST}" == "standard" ]]; then
7171
py.test --cov;
72-
elif [[ "${TEST}" == "minimal" ]]; then
72+
elif [[ "${TEST}" == "flake" ]]; then
7373
flake8;
7474
elif [[ "${TEST}" == "examples" ]]; then
7575
make examples;

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.. image:: https://travis-ci.org/EtienneCmb/visbrain.svg?branch=master
44
:target: https://travis-ci.org/EtienneCmb/visbrain
55

6-
.. image:: https://ci.appveyor.com/api/projects/status/fdxhhmpagms1so8l?svg=true
6+
.. image:: https://ci.appveyor.com/api/projects/status/fdxhhmpagms1so8l/branch/master?svg=true
77
:target: https://ci.appveyor.com/project/EtienneCmb/visbrain/branch/master
88

99
.. image:: https://circleci.com/gh/EtienneCmb/visbrain/tree/master.svg?style=svg

appveyor.yml

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
11
build: false
22

3+
cache:
4+
#- packages
5+
6+
platform:
7+
-x64
8+
39
environment:
410
matrix:
511
- PYTHON_VERSION: 3.6
612
MINICONDA: C:\Miniconda36-x64
13+
PYTHON_ARCH: 64
714

815
init:
9-
- "ECHO %PYTHON_VERSION% %MINICONDA%"
16+
- "ECHO %PYTHON_VERSION% %MINICONDA% %PYTHON_ARCH%"
1017

1118
install:
1219
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
1320
# - ps: $screen_resolution = '1280x800'; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
1421
# ------------------- PYTHON ENVIRONNEMENT -------------------
1522
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
16-
- conda config --set always_yes yes --set changeps1 no
17-
- conda update -q conda
18-
- conda info -a
23+
- "conda config --set always_yes yes --set changeps1 no"
24+
- "conda update -q conda"
25+
- "conda info -a"
1926
- "conda create -q -n testenv python=%PYTHON_VERSION% numpy scipy matplotlib pip"
2027
# Activate testing environnement :
21-
- activate testenv
28+
- "activate testenv"
29+
- "python -m pip install --upgrade pip"
2230
# Install dependencies :
23-
- pip install mne nibabel setuptools PyOpenGL PyOpenGL_accelerate pytest pytest-cov pytest-sugar pandas openpyxl tensorpac
24-
- pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt
31+
- "pip install mne nibabel setuptools PyOpenGL PyOpenGL_accelerate pytest pandas openpyxl tensorpac xlrd"
32+
- "pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt"
33+
- "dir"
2534
# ------------------- VISBRAIN -------------------
26-
- pip install -e .
35+
- "python setup.py develop"
2736

2837
test_script:
29-
- py.test --cov
38+
- "pytest"

build_travis.sh

-9
This file was deleted.

circle.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ general:
22
branches:
33
ignore:
44
- gh-pages
5-
only:
6-
- master
7-
- develop
85

96

107
machine:
@@ -42,8 +39,8 @@ dependencies:
4239
echo "Conda env already set up.";
4340
fi;
4441
- conda install -n circleenv --yes numpy scipy pip;
45-
- pip install codecov pytest pytest-cov pytest-travis-fold;
46-
- pip install mne nibabel pandas openpyxl tensorpac;
42+
- pip install pytest pytest-travis-fold;
43+
- pip install mne nibabel pandas openpyxl tensorpac xlrd;
4744
- pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt;
4845
- ls -al /home/ubuntu/miniconda3;
4946
- ls -al /home/ubuntu/miniconda3/bin;
@@ -58,6 +55,5 @@ dependencies:
5855

5956
test:
6057
override:
61-
- py.test --cov;
62-
post:
63-
- codecov;
58+
- py.test:
59+
timeout: 1500

docs/changelog_futur.rst

+17
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ Changelog and future directions
66
Changelog
77
---------
88

9+
v0.4.0
10+
^^^^^^
11+
12+
Visbrain
13+
~~~~~~~~
14+
15+
* Fixed compatibility with numpy and pip
16+
17+
Sleep
18+
~~~~~
19+
20+
* Hypnogram is now exported as a .txt file with stage-duration encoding.
21+
* .xlsx and EDF+ are now supported for hypnogram
22+
* Better gestion of units when loading with MNE
23+
* Fixed warning in UTF-8 file loading
24+
* Improved JSON saving for configuration file
25+
926
v0.3.8
1027
^^^^^^
1128

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. image:: https://travis-ci.org/EtienneCmb/visbrain.svg?branch=master
22
:target: https://travis-ci.org/EtienneCmb/visbrain
33

4-
.. image:: https://ci.appveyor.com/api/projects/status/fdxhhmpagms1so8l?svg=true
4+
.. image:: image:: https://ci.appveyor.com/api/projects/status/fdxhhmpagms1so8l/branch/master?svg=true
55
:target: https://ci.appveyor.com/project/EtienneCmb/visbrain/branch/master
66

77
.. image:: https://circleci.com/gh/EtienneCmb/visbrain/tree/master.svg?style=svg
57.7 KB
Loading
294 KB
Loading
409 KB
Loading

0 commit comments

Comments
 (0)