Skip to content

Commit

Permalink
Cleanup + initialize micromamba by sourcing bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukelbd committed Mar 29, 2023
1 parent 46c12f3 commit 5bdb427
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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

0 comments on commit 5bdb427

Please sign in to comment.