Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move CI onto Github Actions & Various bug fixes #71

Merged
merged 602 commits into from
Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
602 commits
Select commit Hold shift + click to select a range
781730c
Add alternate error that might be raised if requests is not installed.
langmm Jan 13, 2021
1e4c691
Change syntax for pinning version when installing via conda.
langmm Jan 13, 2021
09b4abf
Fix error where numpy_ver was unused
langmm Jan 13, 2021
1f2c48d
Add 'skip_packages' keyword
langmm Jan 13, 2021
ea09adc
Update how libroadrunner is installed in conda envs so that the depen…
langmm Jan 13, 2021
86b0c54
Fix typo
langmm Jan 13, 2021
47b5562
Try adding fortran compiler to the conda recipe
langmm Jan 13, 2021
bbd1713
Add some compiler environment variables to set printed by ygginfo
langmm Jan 14, 2021
84511b6
Mark server/client interface tests as flaky
langmm Jan 14, 2021
f4842a3
Try cleaning up some unused setup steps
langmm Jan 14, 2021
161f4ab
Add tests for astropy and rmq + conda on GHA
langmm Jan 14, 2021
bd1fa96
1st attempt at combining pip & conda jobs into single matrix
langmm Jan 14, 2021
2d2c9bd
Disable codecov on travis/appveyor
langmm Jan 14, 2021
9cd81a3
Remove tabs
langmm Jan 14, 2021
e6aadce
Replace brackets with parentheses in step names to prevent interpreta…
langmm Jan 14, 2021
208155b
Add back in the test on Python 3.8
langmm Jan 14, 2021
0767e69
Increase number of parallel jobs
langmm Jan 14, 2021
6bd0193
Add script for generating gha yaml from a version using anchors
langmm Jan 14, 2021
652637c
Try setting vcpkg root directory via yggconfig to test that this setu…
langmm Jan 14, 2021
76a9d24
Improve CLI for GHA yaml generation and add disclaimer that generated…
langmm Jan 14, 2021
c4384a9
Ensure that list of paths is unique
langmm Jan 14, 2021
77e207d
Path TEMP directories on windows for pip AND conda
langmm Jan 14, 2021
b67afbd
Use bash by default for conda on GHA.
langmm Jan 14, 2021
29f12ad
Fix incorrect name dependency in deploy and add tests where packages …
langmm Jan 15, 2021
e08847d
Install old mac sdk reguardless to allow use with pyzmq>=21.0.0
langmm Jan 15, 2021
b911f17
Move base for github actions workflows outside of the workflows dir s…
langmm Jan 15, 2021
4124893
Fix issue with 'on' being a bool when read by pyyaml
langmm Jan 15, 2021
3b9b8cb
Move GHA yaml generation script fully into the CLI
langmm Jan 15, 2021
1be2a13
Fix use of copy that may be called from a Python 2 env during install…
langmm Jan 15, 2021
75194b1
Don't include absence of sbml in stripped test set
langmm Jan 15, 2021
422ef96
Re-enable position specific initialization of MSVC compiler on windows
langmm Jan 15, 2021
d0850a0
Set shell in environment variable so it can be changed based if conda…
langmm Jan 15, 2021
50a468c
Disable tests on conda build for Github Actions on windows due to exc…
langmm Jan 15, 2021
bda3b0e
Handle case where an optional dependency is installed on the test mac…
langmm Jan 15, 2021
bb425e2
Split pip & conda tests, but use yaml anchors to duplicate steps
langmm Jan 15, 2021
decca1e
Remove conda tests from the pip base
langmm Jan 15, 2021
a575339
Disable apy on rmq/conda test
langmm Jan 15, 2021
49ff791
Update how sudoR installation is done so that it matches installation…
langmm Jan 15, 2021
2e3f9b6
Split conda installation steps on travis into a script so it can be r…
langmm Jan 15, 2021
8097fdf
Fix bug in case where config is the first time yggdrasil is import so…
langmm Jan 15, 2021
c355764
Adjust pyzmq import to handle the case where the package cannot be im…
langmm Jan 15, 2021
f973acd
Clean up path before creating test env on Unix
langmm Jan 15, 2021
0200810
Don't disable astropy just yet
langmm Jan 15, 2021
643e120
Change install_conda.sh to executable
langmm Jan 15, 2021
5fef328
Check for windows version of yggconfig executable, add a debug messag…
langmm Jan 15, 2021
d5b702a
Fix default shell for the rmq/conda job
langmm Jan 15, 2021
227270b
Revert to not using script to avoid handling interaction w/ install s…
langmm Jan 15, 2021
06514b5
Add cron job
langmm Jan 15, 2021
037b7a9
Rename workflow to be more accurate
langmm Jan 15, 2021
fe8d044
Add debug messages in setup to determine what version of R is being u…
langmm Jan 15, 2021
1644ef3
Comment out the fortran compiler dependency for Unix when installing …
langmm Jan 15, 2021
5f45b22
Add additional debug message for the R install
langmm Jan 15, 2021
1842e56
Try calling R install script on shell for windows.
langmm Jan 15, 2021
62bd33f
Don't run install from file if the file is empty
langmm Jan 16, 2021
3dbb8a1
Update conda env before installing deps.
langmm Jan 16, 2021
15a10f9
Update R packages on windows GHA
langmm Jan 16, 2021
87d1fab
Pin astropy on Travis
langmm Jan 16, 2021
adbacd2
Fix typo
langmm Jan 16, 2021
9e9af7d
Add more R debug messages
langmm Jan 16, 2021
4c2575e
Remove debug message
langmm Jan 16, 2021
b86c640
Add Rcpp to list of explicit R dependencies as it does not appear to …
langmm Jan 16, 2021
76f39d1
Move version specific astropy installation to install_deps
langmm Jan 16, 2021
830f493
Add rtools to choco installed packages and force reinstallation
langmm Jan 16, 2021
eec2b82
Re-enable conda installation of fortran package on non-windows
langmm Jan 16, 2021
64df264
Install chocolately packages one-by-one
langmm Jan 16, 2021
de26e2d
Make fortran compiler installation explicit on travis/conda
langmm Jan 16, 2021
dacd29f
Remove rtools from choco installs on GHA-windows (it times out at 45 …
langmm Jan 19, 2021
443ba7c
Try changing the package name used to install the fortran compiler vi…
langmm Jan 19, 2021
9eda783
Use github action to install R on windows so that Rtools is available
langmm Jan 19, 2021
464d3ce
Only install R via action if not on conda
langmm Jan 19, 2021
c9b9675
Don't default to R is installed on gha/windows
langmm Jan 19, 2021
7934690
Add setup method for logging the Python environment
langmm Jan 19, 2021
ded3e01
Add steps to create a log of the python environment and diff it again…
langmm Jan 19, 2021
5b5257d
Don't run reticulate conda commands when conda is not on the path
langmm Jan 19, 2021
35c0527
Only install fortran-compiler explicitly on travis
langmm Jan 19, 2021
2c0de07
Only install R if R not installed, but still install the units C library
langmm Jan 19, 2021
423b00c
Change how environment log script is run so that it can be run in the…
langmm Jan 19, 2021
14f4f57
Add ygginfo output to error message for timing tests
langmm Jan 20, 2021
63aa5f7
Add tests that were missing
langmm Jan 20, 2021
a420b9a
Don't only check successful workflows (jobs can also upload)
langmm Jan 20, 2021
1c4039f
Add pragmas for CI services
langmm Jan 20, 2021
c7eb620
Turn of deployment steps on travis
langmm Jan 20, 2021
e3be81b
Fix config test so that the config file is not modified
langmm Jan 20, 2021
3b97205
Add pragma for error only arising on appveyor
langmm Jan 20, 2021
ed4875d
Add back in extra step on Conda to explicitly generate the coverage r…
langmm Jan 20, 2021
6b4246f
Consolidate the compile_osr method info compile_dependencies
langmm Jan 20, 2021
a5bfde2
Add tests on additional versions of Python and add flags to disable/e…
langmm Jan 20, 2021
7ad9114
Set default comm using old name on one test and use virtualenv on the…
langmm Jan 20, 2021
28e706f
Add pytest plugin to remove duplicates from test collection
langmm Jan 20, 2021
e2d2aea
Add test suites for all and the top directory and use those to expand…
langmm Jan 20, 2021
e7a38bf
Fix reference to Python executable when not on Mac
langmm Jan 20, 2021
34998c3
Remove debug print
langmm Jan 20, 2021
82e782a
Only do virtualenv install w/ pip
langmm Jan 20, 2021
a84fe24
R install on GHA using default R works
langmm Jan 20, 2021
99da422
Fix syntax
langmm Jan 20, 2021
a5616dd
Enable github token for artifact download
langmm Jan 20, 2021
01c8a0c
Try virtualenv install via github action
langmm Jan 21, 2021
21366f4
Update fspm2020 demo submodule
langmm Jan 21, 2021
209c0b4
Clean up conda packages before build
langmm Jan 21, 2021
46ea01f
Update version of fspm demo submodule
langmm Jan 21, 2021
3c15ff5
Replace travis/appveyor badgets with GHA one
langmm Jan 21, 2021
face022
Mark pyperf test as flaky
langmm Jan 21, 2021
1d788f5
Add test for tools on macos
langmm Jan 21, 2021
3b23ae1
Add DISPLAY variable to list of environment variables displayed in ve…
langmm Jan 21, 2021
bd1a3b1
Add matrix variable for second set of tests and use it to split some …
langmm Jan 21, 2021
066036a
Fix OSR coverage pragmas and add MSVC compiler environment variables …
langmm Jan 21, 2021
8ccfef2
Add test for vcpkg_dir configuration
langmm Jan 21, 2021
199a774
Fix env logging
langmm Jan 21, 2021
4904639
Add backwards example to tests on conda so that cmake is run w/ actua…
langmm Jan 21, 2021
85190a7
Start debug session for ubuntu/conda to debug R environment variable …
langmm Jan 21, 2021
f6bce67
Add conda prefix to list of directories searched for python libraries
langmm Jan 21, 2021
ed1175d
Mark other timing test as flaky as well
langmm Jan 21, 2021
60c32c4
Try fixing the shh conditional
langmm Jan 21, 2021
1788030
Add debug messages to R setup to determine where enviornment setup is…
langmm Jan 21, 2021
c7063ab
Add all environment variables to debug message
langmm Jan 22, 2021
e1fcbb3
Brute force to ensure that env is printed
langmm Jan 22, 2021
7e72169
Add debug message for R model env at model execution and cleanup othe…
langmm Jan 22, 2021
ddb64da
Disable ssh and duplicate environment variables with colons under alt…
langmm Jan 22, 2021
e6b09fc
Don't log global comms under the version of the channel name that has…
langmm Jan 22, 2021
671aa84
Turn on ssh debug for mac/conda
langmm Jan 22, 2021
8fdac8b
Add python version to the log ID string and move the ssh step to befo…
langmm Jan 22, 2021
2231155
Remove libroadrunner from requirements file
langmm Jan 22, 2021
f92d999
Resolve warnings about invalid pytest configuration parameters by mov…
langmm Jan 22, 2021
1d92b90
Disable warning about missing tests for sbml1-3 which are in the same…
langmm Jan 22, 2021
a60e8b7
Resolve warning about invalid schema by using the latest (tracked by …
langmm Jan 22, 2021
99374a0
Turn of sbml support by default (libroadrunner has an old version of …
langmm Jan 25, 2021
6145c68
Add pre-unlink scripts to clean-up the yggdrasil config file and R yg…
langmm Jan 25, 2021
b92d686
Add additional environment variables to the list of those copied into…
langmm Jan 25, 2021
d65c69d
Move libroadrunner requirment into optional file so that it is instal…
langmm Jan 25, 2021
5447eeb
Don't fail individual tests on CI for under 100% since we are testing…
langmm Jan 25, 2021
e9d0148
Handle case where flag was not initialized
langmm Jan 26, 2021
7b58428
Move fortran conda requirement to be explicit in the setup script for…
langmm Jan 26, 2021
6866d97
Change Python version for conda test to 3.7 to match travis
langmm Jan 26, 2021
398ee41
Isolate failing test and run on all gha jobs and travis
langmm Jan 26, 2021
4434318
Restore commented tests to complete logic
langmm Jan 26, 2021
09ccb5a
Add other tests to determine if it is just the zmq library, the inter…
langmm Jan 26, 2021
e8994e7
Run tests together so they are both run even if there are failures
langmm Jan 27, 2021
d8d0e8f
Force install of older czmq on Mac
langmm Jan 27, 2021
0e3e031
Add ability to get list of missing base languages when calling method…
langmm Jan 27, 2021
b7e97aa
Make warnings into debug info so that it is not printed so often
langmm Jan 27, 2021
0b54d7e
Add cxx to list of aliases for c++
langmm Jan 27, 2021
1a37673
Add hard coded constants w/ list of programming languages to speed up…
langmm Jan 27, 2021
24c5d91
Re-factor CLI and base import to be faster, moving tests into the com…
langmm Jan 27, 2021
a7a5d06
Re-enable tests and change pinning for czmq to exclusive
langmm Jan 27, 2021
72c45ac
Don't specify choices for positional arguments as argparse dosn't app…
langmm Jan 27, 2021
95c1f2a
Disable ssh debug
langmm Jan 27, 2021
ed718dd
Fix output of yggldflags under new CLI system
langmm Jan 27, 2021
9754430
Add log messages to determine why the new CLI setup fails to config p…
langmm Jan 27, 2021
e230782
Return linker flags for linking an executable by default
langmm Jan 27, 2021
c3d49d8
Fix bug where error was being raised when all languages compiles inst…
langmm Jan 27, 2021
c189c73
Fix bug in how language config options were set
langmm Jan 27, 2021
adb46be
Redirect run_tsts entry point in conda recipe
langmm Jan 27, 2021
f3537c0
Remove debug messages and unused code
langmm Jan 27, 2021
fd2da8e
Change how extra arguments to yggtest are processed and add error whe…
langmm Jan 27, 2021
b618a7f
Restore tests on travis
langmm Jan 27, 2021
75475de
Fix return of function value in calls to CLI classes
langmm Jan 27, 2021
0d8c3d4
Add job to test CZMQ on Mac Catalina
langmm Jan 27, 2021
cecb1eb
Clean up commented code
langmm Jan 27, 2021
67e29e7
Add explicit rootdir to yggtest runner on CI and debug message about …
langmm Jan 27, 2021
76631df
Ensure that the package dir is tested rather than the current directo…
langmm Jan 27, 2021
d23613f
Add C++ CXX aliases to method that identifies the language directory
langmm Jan 27, 2021
f28bbed
Add config option for disabling the matlab engine for python
langmm Jan 27, 2021
920f42a
Add missing languages to constants.py
langmm Jan 27, 2021
23a6fcb
Run czmq install script with sudo
langmm Jan 27, 2021
d49d155
Don't cover the __main__.py command line access
langmm Jan 27, 2021
2e2e06b
Append coverage in second test
langmm Jan 27, 2021
7e82579
Fix bug where config CLI was not checking languages to get language d…
langmm Jan 28, 2021
b46f35c
Change shell that czmq setup/check is done in
langmm Jan 28, 2021
323b784
Decrease verbosity of cleanup unless in the yggclean CLI
langmm Jan 28, 2021
5e21393
Remove debug print statement w/ error code
langmm Jan 28, 2021
e3de7ba
Don't print names of files when removing them during cleanup in prepe…
langmm Jan 28, 2021
750321b
Make czmq install script executable
langmm Jan 28, 2021
f2cd2f7
Move into the czmq directory before running tests
langmm Jan 28, 2021
b08b66d
Update the C API to be thread safe
langmm Jan 28, 2021
f2e5755
Add ability to set environment variables in the YAML file.
langmm Jan 28, 2021
99a8754
Add test for RPC w/ threading that includes the channel initialization.
langmm Jan 28, 2021
12c4359
Fix but where test languages were not being checked properly in the r…
langmm Jan 28, 2021
e2e0b49
Build all tests and run with ctest
langmm Jan 28, 2021
104db7b
Add more specific omp critical pragmas
langmm Jan 28, 2021
3d51860
Ensure that env dict is present in model yaml
langmm Jan 28, 2021
74a3968
Clean up zeromq context
langmm Jan 28, 2021
61603a0
Don't run czmq install script w/ sudo in czmq test and cleanup the in…
langmm Jan 28, 2021
01ba83d
Don't use dashes in names for omp critical sections
langmm Jan 28, 2021
557efa8
Remove code used to debug
langmm Jan 28, 2021
ac6844c
Fix bug in dummy function
langmm Jan 28, 2021
ef54be0
Add OMP to conditional dependencies in setup
langmm Jan 29, 2021
68873ef
Run tests via make check
langmm Jan 29, 2021
69ebd99
Add thread ID to C log message prefix
langmm Jan 29, 2021
e08d3cc
Additional updates to permit use with threads
langmm Jan 29, 2021
4c2c278
Don't install valgrind in the czmq setup script
langmm Jan 29, 2021
673ffed
Add a history file
langmm Jan 29, 2021
1bc181b
Refactor threaded code so that it runs without threads and disable fo…
langmm Jan 29, 2021
69850e3
Add make check to czmq installation test
langmm Jan 29, 2021
18a5356
Remove extra debug messages, remove environment variables with colon'…
langmm Jan 29, 2021
5b3b45b
Name the coverage upload
langmm Jan 29, 2021
d83d3bc
Try removing extra steps to get coverage of subprocess (pytest-cov re…
langmm Jan 29, 2021
d94d5df
Add ls and coverage combine commands to coverage management step on c…
langmm Jan 29, 2021
380450b
Re-organize config test so that vcpkg_dir flag tested even when it is…
langmm Jan 29, 2021
eb3fdd3
Fix bug in logic for test function
langmm Jan 29, 2021
4008125
Fix bug in test target for multitasking and refactor exitcode for cov…
langmm Jan 29, 2021
8e34297
Fix fallback to terminate
langmm Jan 30, 2021
9d1f1c2
Fix bug in updated test of config update
langmm Feb 1, 2021
058ca3f
FIx coverage combination and xml generation so that errors are ignore…
langmm Feb 2, 2021
f1108ec
Update test for czmq 4.2.1 to not use the yggdrasil script
langmm Feb 2, 2021
bbc7065
Add conda prefix to ldflags as rpath
langmm Feb 2, 2021
c5271cf
Combine coverage reports for all jobs and using --append flag
langmm Feb 2, 2021
6dfe76c
Use token to upload to codecov
langmm Feb 3, 2021
e03860c
Move czmq tests into separate workflow
langmm Feb 4, 2021
a5446a8
Coverage
langmm Feb 4, 2021
c67e674
Try to fix syntax error
langmm Feb 4, 2021
dbac522
Update czmq-4.2.1.yml
langmm Feb 4, 2021
c3a041e
Fix syntax in title and add commented out ssh on error steps
langmm Feb 4, 2021
9435532
Split conda installed packages between os-specific steps
langmm Feb 4, 2021
f078a9f
Install compilers on windows via conda using the aliases
langmm Feb 4, 2021
7e7b4bc
Try running tests on windows via make
langmm Feb 4, 2021
c0581fc
Set singular matrix so matrix.os can be used
langmm Feb 4, 2021
ae19d57
Fix conda steps so that all packages installed at the same time
langmm Feb 4, 2021
1a3dddf
Add suffix to clang packages
langmm Feb 4, 2021
5f73574
Disable setting ldflags as conda env sets them
langmm Feb 4, 2021
36565c1
Call selftests explicitly
langmm Feb 4, 2021
a15689b
Add tests for package manager/github installations on linux & windows
langmm Feb 4, 2021
10f7cfb
Don't build libzmq against libsodium since we arn't installing libsodium
langmm Feb 4, 2021
86855f9
Install some dependencies on windows using vcpkg
langmm Feb 4, 2021
2485c52
Run the selftests from the build directory on windows
langmm Feb 4, 2021
edfab1e
Remove czmq test workflow (now on a branch on my fork)
langmm Feb 4, 2021
7bd6be3
Remove pinning to avoid czmq 4.2.1 on osx
langmm Feb 4, 2021
41f357d
Mark connection send/recv tests with timeout and add pytest plugin to…
langmm Feb 4, 2021
ab8efaa
Reorganize removal of extra sh.exe from path to make it easier to mar…
langmm Feb 5, 2021
feb2b6d
Add test of fortran test on mac/conda combo
langmm Feb 5, 2021
d1ba2f3
Only run vcpkg_dir config test on windows when vcpkg_dir is already set
langmm Feb 5, 2021
0db9559
Pull in update that allows extra command to be sent to pytest
langmm Feb 5, 2021
12f521c
Only run full update inside the try/finally block
langmm Feb 5, 2021
cc0dbf9
Remove continue-on-error flags and ensure that version of msvc matches
langmm Feb 5, 2021
1126302
Add try/finally block to attempt to clean up in event of failure to b…
langmm Feb 5, 2021
de3f49b
Change finally to only on exception
langmm Feb 5, 2021
f086702
Only cleanup the client and avoid call that assumes the object is ful…
langmm Feb 5, 2021
d724a25
Don't install cmake on conda builds as it will be installed with MSVC
langmm Feb 5, 2021
71441fc
Add debug flags
langmm Feb 6, 2021
ff97e9d
Run cmake test on ubuntu as well
langmm Feb 6, 2021
32325ea
Print help for cmake and turn on debug message displaying the output …
langmm Feb 6, 2021
9f73529
Fix bug in log message and add test for C/C++ model drivers
langmm Feb 8, 2021
122b40d
Catch error when no Visual Studio is found by cmake and try again wit…
langmm Feb 8, 2021
1e60a2d
Add pragma to ignore version specific lines and add it to the lines r…
langmm Feb 8, 2021
a0f7750
Mark code specific to when git/rtools install sh.exe on path as appve…
langmm Feb 9, 2021
ace96f3
Run test workflow on tag creation
langmm Feb 9, 2021
3976555
Add '--count' flag to testing CLI to allow reruning tests and circumv…
langmm Feb 9, 2021
5f7626b
Add a verbose option for the connection driver printStatus method and…
langmm Feb 9, 2021
0db1640
Add follow-up steps to re-run failed tests
langmm Feb 9, 2021
40ccae2
Fix bug where a response comm driver would destroy a reply socket whi…
langmm Feb 10, 2021
5a9b904
Remove commented step and trigger a new commit to test if travis & ap…
langmm Feb 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 6 additions & 32 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ os: Visual Studio 2015

environment:

PYPI_PASSWORD:
secure: vixzjLjh1xT6my9x65rOcw==

global:
PYTHON: "C:\\Miniconda3-x64"
APPVEYOR_SAVE_CACHE_ON_ERROR: true
Expand Down Expand Up @@ -111,9 +108,7 @@ install:
# Setup environment
# Currently conda is used reguardless of the installation method as
# that is how python is installed by appveyor
- "python utils\\ci_setup.py pip env %PYTHON_VERSION%"
# - if "%YGG_CONDA%" == "1" "python utils\\ci_setup.py conda env %PYTHON_VERSION%"
# - if "%YGG_CONDA%" == "0" "python utils\\ci_setup.py pip env %PYTHON_VERSION%"
- "python utils\\setup_test_env.py env conda %PYTHON_VERSION% --env-name=test-environment"

# Activate environment (should be conda reguardless)
- "activate test-environment"
Expand All @@ -122,9 +117,8 @@ install:
- if "%INSTALLC%" == "1" call "ci\\install-compilers.bat"

# Build and install
- "python utils\\ci_setup.py pip deploy"
# - if "%YGG_CONDA%" == "1" "python utils\\ci_setup.py conda deploy"
# - if "%YGG_CONDA%" == "0" "python utils\\ci_setup.py pip deploy"
- "python utils\\setup_test_env.py install pip"
- "python utils\\setup_test_env.py verify"
- "echo %PATH%"

cache:
Expand All @@ -141,29 +135,9 @@ build: false

test_script:
- "yggclean"
- "yggcompile"
- "yggtest --ci %YGG_TEST_FLAGS%"
- "%YGG_SECOND_TEST%"

after_test:
- "codecov"

# Deploy to PyPI
# on_success:
# - echo "Starting Artifact Deployment"
# - "pip install twine"
# - "python setup.py bdist_wheel"

# # Specify account details for PyPI
# - echo [distutils] > %USERPROFILE%\\.pypirc
# - echo index-servers = >> %USERPROFILE%\\.pypirc
# - echo pypi >> %USERPROFILE%\\.pypirc
# - echo [pypi] >> %USERPROFILE%\\.pypirc
# - echo username=langmm >> %USERPROFILE%\\.pypirc
# - echo password=%PYPI_PASSWORD% >> %USERPROFILE%\\.pypirc

# # Workaround required to ensure setup.py finds the .pypirc under Windows
# - set HOME=%USERPROFILE%

# # Deploy wheel on tags
# - ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -And $env:APPVEYOR_REPO_BRANCH -eq "master") { Invoke-Expression "twine upload --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag on master, won't deploy to pypi"}
# # - if "%APPVEYOR_REPO_TAG%"=="true" ( python setup.py bdist_wheel upload ) else ( echo "Not deploying because not a tagged commit." )
# after_test:
# - "codecov"
Loading