-
Notifications
You must be signed in to change notification settings - Fork 104
/
.travis.yml
38 lines (37 loc) · 808 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
27
28
29
30
31
32
33
34
35
36
37
38
language: python
dist: focal
python:
- '3.8'
- '3.9'
env: LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib
before_install: ./.travis.sh
install: pip install -r requirements.txt .
before_script:
- git config --global user.name "travis-test"
- git config --global user.email "[email protected]"
script:
- python -m unittest discover gitless/tests
branches:
only:
- master
jobs:
include:
- stage: Pack snap
addons:
snaps:
- name: snapcraft
classic: true
- name: multipass
classic: true
channel: beta
env: EMPTY
before_install: skip
install: skip
script: sudo snapcraft --destructive-mode
deploy:
on:
branch: master
provider: snap
snap: "*.snap"
channel: edge
skip_cleanup: true