forked from leanprover-community/lean-perfectoid-spaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 795 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: bash
sudo: true
os:
- linux
dist:
- xenial
before_install:
- sudo apt-get update
- sudo apt-get install -y python3 python3-pip python3-setuptools
- sudo -H pip3 install --upgrade pip
- sudo -H pip3 install mathlibtools
install:
- |
if [ ! -d "$HOME/.elan/toolchains/" ]; then
curl https://raw.githubusercontent.com/Kha/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
fi
- source ~/.elan/env
- if [ "$GITHUB_CRED" != "" ]; then git config --add github.oauthtoken $GITHUB_CRED; echo setting up GitHub credentials; else echo no GitHub credentials available; fi
- leanpkg configure
- leanproject get-mathlib-cache
jobs:
include:
- env: TASK="check build"
language: bash
script:
- travis_wait leanpkg build