-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
55 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash -x | ||
|
||
set -e | ||
|
||
. $CONDA/etc/profile.d/conda.sh | ||
conda activate ./env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash -x | ||
|
||
set -e | ||
|
||
sudo chown -R $USER $CONDA | ||
. $CONDA/etc/profile.d/conda.sh | ||
conda env create -q --prefix ./env -f environment.yml | ||
conda activate ./env | ||
env/bin/python -m pip install -e . |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
pr: none | ||
trigger: | ||
- master | ||
variables: | ||
- group: exoplanet-variables | ||
pool: | ||
vmImage: Ubuntu-16.04 | ||
|
||
steps: | ||
- script: | | ||
git submodule update --init | ||
displayName: 'Fetch submodules' | ||
|
||
- script: | | ||
source .ci/azure/setup_conda.sh | ||
displayName: 'Setup conda' | ||
|
||
- script: | | ||
source .ci/azure/activate_conda.sh | ||
env/bin/python -m pip install -U -r paper/requirements.txt | ||
conda install -y -q -c conda-forge tectonic | ||
displayName: 'Install dependencies' | ||
|
||
- script: | | ||
source .ci/azure/activate_conda.sh | ||
cd $(Build.SourcesDirectory)/paper/figures | ||
python run_notebooks.py | ||
displayName: 'Generate the figures' | ||
|
||
- script: | | ||
source .ci/azure/activate_conda.sh | ||
cd $(Build.SourcesDirectory)/paper | ||
make | ||
displayName: 'Build the paper' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters