You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
890 B
31 lines
890 B
name: CI |
|
kind: pipeline |
|
type: docker |
|
|
|
trigger: |
|
event: |
|
- cron |
|
- custom |
|
- push |
|
- pull_request |
|
- tag |
|
- promote |
|
- rollback |
|
|
|
steps: |
|
- name: Install the library |
|
image: ubuntu:latest |
|
commands: |
|
- apt-get update && apt-get install -y --no-install-recommends build-essential curl wget |
|
- apt-get clean && rm -rf /var/lib/apt/lists/* |
|
- > |
|
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --no-check-certificate && |
|
sh Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda && |
|
/opt/conda/bin/conda install -y python jupyter cartopy && |
|
/opt/conda/bin/conda clean -ya |
|
- export PATH=/opt/conda/bin:$PATH |
|
- pip install --upgrade pip>=19.3 |
|
- pip install nbdev |
|
- pip install -e . |
|
- echo "Check we are testing if build succeeds" |
|
- nbdev_test |