1- # Travis Continuos Integration
2- # Currently only tests notebook files
3- # Based on https://conda.pydata.org/docs/travis.html
4- sudo : false # use container based build
1+ # Travis Continuous Integration
2+ # For mamba links see https://mamba.readthedocs.io/en/latest/installation.html
3+ # For sample travis file see https://conda.pydata.org/docs/travis.html
4+ dist : xenial
55language : python
6- dist : focal
6+
77notifications :
88 email : false
99
@@ -18,25 +18,19 @@ before_install:
1818 echo "Only doc files were updated, not running the CI."
1919 exit
2020 fi
21- - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
22- - bash miniconda.sh -b -p $HOME/miniconda
23- - export PATH="$HOME/miniconda/bin:$PATH"
21+ - curl micro.mamba.pm/install.sh | bash
22+ - export PATH="$HOME/micromamba/bin:$PATH"
2423 - hash -r
25- - conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
26- - conda update -q conda
27- - conda info -a
24+ - micromamba config --set always_yes yes --set changeps1 no --set show_channel_urls true
2825
2926install :
30- - conda env create --file ci/environment.yml
31- - source activate proplot-dev
32- - conda list
33- - which conda
27+ - micromamba env create --file ci/environment.yml
28+ - micromamba activate proplot-dev
29+ - micromamba list
30+ - which micromamba
3431 - which python
3532 - python setup.py sdist bdist_wheel
3633 - pip install --user ./dist/*.whl
3734
3835script :
3936 - ci/run-linter.sh
40- - pushd docs
41- - make html
42- - popd
0 commit comments