Skip to content

Commit 8f29af9

Browse files
committed
Move back to using environment.yml in CI
1 parent 4935094 commit 8f29af9

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

README.rst

+12-10
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Development
7070
1. Install `conda <https://docs.conda.io/en/latest/miniconda.html>`_.
7171
2. Download development and testing tools::
7272

73-
conda env create -f environment.lock.yml -n my-dev-environment
73+
conda env create -f environment.yml -n my-dev-environment
7474

7575
3. Activate development environment::
7676

@@ -86,9 +86,20 @@ Tests
8686

8787
make test
8888

89+
Deploy new cortexpy version to pypi
90+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91+
92+
Requires access credentials for pypi.
93+
94+
::
95+
96+
make deploy
97+
8998
Update the dev environment
9099
~~~~~~~~~~~~~~~~~~~~~~~~~~
91100

101+
This section is experimental because it does not work on travis-CI yet.
102+
92103
::
93104

94105
# Create a new env from the high-level requirements file
@@ -100,15 +111,6 @@ Update the dev environment
100111
# save new env to environment.lock.yml
101112
make lock
102113

103-
Deploy new cortexpy version to pypi
104-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105-
106-
Requires access credentials for pypi.
107-
108-
::
109-
110-
make deploy
111-
112114
Bugs
113115
====
114116

scripts/bootstrap

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ conda update -q conda
2525
# Useful for debugging any issues with conda
2626
conda info -a
2727

28-
conda env create -q -f environment.lock.yml -n test-env
28+
conda env create -q -f environment.yml -n test-env
2929
source activate test-env
3030
python setup.py install
3131
mccortex 3 || echo continue...

0 commit comments

Comments
 (0)