Skip to content

Commit

Permalink
Merge branch 'release/v0.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneCmb committed May 22, 2018
2 parents 5b5b422 + 5f7cfa1 commit 6008f8b
Show file tree
Hide file tree
Showing 44 changed files with 1,069 additions and 424 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ matrix:
include:
- env: TEST=standard
os: linux
- env: TEST=minimal
os: linux
- env: TEST=examples
- env: TEST=flake
os: linux
# - env: TEST=examples
# os: linux
# - env: TEST=standard
# os: osx
# language: generic
allow_failures:
- env: TEST=minimal
- env: TEST=flake


before_install:
Expand All @@ -46,11 +46,11 @@ install:
- source activate testenv
# Install dependencies :
- if [ "${TEST}" == "standard" ]; then
pip install codecov pytest pytest-cov pytest-sugar pytest-travis-fold openpyxl;
pip install codecov pytest pytest-cov pytest-sugar pytest-travis-fold openpyxl xlrd;
pip install mne nibabel pandas tensorpac;
pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt;
fi;
- if [ "${TEST}" == "minimal" ]; then
- if [ "${TEST}" == "flake" ]; then
pip install flake8 pep8-naming;
fi;
# - pip install PyOpenGL PyOpenGL_accelerate
Expand All @@ -69,7 +69,7 @@ before_script:
script:
- if [[ "${TEST}" == "standard" ]]; then
py.test --cov;
elif [[ "${TEST}" == "minimal" ]]; then
elif [[ "${TEST}" == "flake" ]]; then
flake8;
elif [[ "${TEST}" == "examples" ]]; then
make examples;
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.. image:: https://travis-ci.org/EtienneCmb/visbrain.svg?branch=master
:target: https://travis-ci.org/EtienneCmb/visbrain

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

.. image:: https://circleci.com/gh/EtienneCmb/visbrain/tree/master.svg?style=svg
Expand Down
27 changes: 18 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
build: false

cache:
#- packages

platform:
-x64

environment:
matrix:
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36-x64
PYTHON_ARCH: 64

init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
- "ECHO %PYTHON_VERSION% %MINICONDA% %PYTHON_ARCH%"

install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
# - ps: $screen_resolution = '1280x800'; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
# ------------------- PYTHON ENVIRONNEMENT -------------------
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda config --set always_yes yes --set changeps1 no"
- "conda update -q conda"
- "conda info -a"
- "conda create -q -n testenv python=%PYTHON_VERSION% numpy scipy matplotlib pip"
# Activate testing environnement :
- activate testenv
- "activate testenv"
- "python -m pip install --upgrade pip"
# Install dependencies :
- pip install mne nibabel setuptools PyOpenGL PyOpenGL_accelerate pytest pytest-cov pytest-sugar pandas openpyxl tensorpac
- pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt
- "pip install mne nibabel setuptools PyOpenGL PyOpenGL_accelerate pytest pandas openpyxl tensorpac xlrd"
- "pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt"
- "dir"
# ------------------- VISBRAIN -------------------
- pip install -e .
- "python setup.py develop"

test_script:
- py.test --cov
- "pytest"
9 changes: 0 additions & 9 deletions build_travis.sh

This file was deleted.

12 changes: 4 additions & 8 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ general:
branches:
ignore:
- gh-pages
only:
- master
- develop


machine:
Expand Down Expand Up @@ -42,8 +39,8 @@ dependencies:
echo "Conda env already set up.";
fi;
- conda install -n circleenv --yes numpy scipy pip;
- pip install codecov pytest pytest-cov pytest-travis-fold;
- pip install mne nibabel pandas openpyxl tensorpac;
- pip install pytest pytest-travis-fold;
- pip install mne nibabel pandas openpyxl tensorpac xlrd;
- pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt;
- ls -al /home/ubuntu/miniconda3;
- ls -al /home/ubuntu/miniconda3/bin;
Expand All @@ -58,6 +55,5 @@ dependencies:

test:
override:
- py.test --cov;
post:
- codecov;
- py.test:
timeout: 1500
17 changes: 17 additions & 0 deletions docs/changelog_futur.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ Changelog and future directions
Changelog
---------

v0.4.0
^^^^^^

Visbrain
~~~~~~~~

* Fixed compatibility with numpy and pip

Sleep
~~~~~

* Hypnogram is now exported as a .txt file with stage-duration encoding.
* .xlsx and EDF+ are now supported for hypnogram
* Better gestion of units when loading with MNE
* Fixed warning in UTF-8 file loading
* Improved JSON saving for configuration file

v0.3.8
^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. image:: https://travis-ci.org/EtienneCmb/visbrain.svg?branch=master
:target: https://travis-ci.org/EtienneCmb/visbrain

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

.. image:: https://circleci.com/gh/EtienneCmb/visbrain/tree/master.svg?style=svg
Expand Down
Binary file added docs/picture/picobjects/ex_pac_obj.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/picture/picsleep/hypno_encoding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/picture/picsleep/sleep_main_parts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6008f8b

Please sign in to comment.