From cd6881f14f03ba008511133f7ef3971e08480674 Mon Sep 17 00:00:00 2001 From: Luke Davis Date: Mon, 27 Mar 2023 11:31:25 -0600 Subject: [PATCH] Cleanup + initialize micromamba by sourcing bashrc --- .travis.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b4b6ec7c..1ac6cb6a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,16 @@ # Avoiding duplicate branch-pr triggers: # https://github.com/travis-ci/travis-ci/issues/1147#issuecomment-160820262 dist: xenial -branches: - only: - - master +sudo: false # use container based build language: python + notifications: email: false +branches: + only: + - master + python: - "3.7" @@ -26,20 +29,20 @@ before_install: fi - curl micro.mamba.pm/install.sh | bash - export PATH="$HOME/micromamba/bin:$PATH" - - hash -r - - micromamba shell init -s bash -p ~/micromamba - micromamba config set always_yes true - micromamba config set changeps1 false - micromamba config set show_channel_urls true + - micromamba shell init --shell=bash --prefix=~/micromamba install: + - . ~/.bashrc + - which python + - which micromamba - micromamba env create --file ci/environment.yml - micromamba activate proplot-dev - - micromamba list - - which micromamba - - which python - python setup.py sdist bdist_wheel - pip install --user ./dist/*.whl + - micromamba list script: - ci/run-linter.sh