forked from dusty-phillips/gitifyhg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (47 loc) · 1.25 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: python
python:
- "2.7"
# install recent git version, and make sure the git config
# contains suitable default
before_install:
- sudo apt-get update -qq
- sudo add-apt-repository -y ppa:pdoes/ppa
- sudo apt-get install -qq git
- git config --global user.email [email protected]
- git config --global user.name Gitifyhg
- git config --global push.default simple
# install dependencies and gitifyhg itself;
# py.test is already preinstalled
install:
- "pip install -q path.py>=2.5"
- "pip install -q https://www.mercurial-scm.org/release/mercurial-$HG_VERSION.tar.gz"
- "python setup.py -q install"
# specify various mercurial versions to test against
env:
- HG_VERSION=2.5
- HG_VERSION=2.6
- HG_VERSION=2.8
- HG_VERSION=2.9
- HG_VERSION=3.0
- HG_VERSION=3.1
- HG_VERSION=3.2
- HG_VERSION=3.3
- HG_VERSION=3.4
- HG_VERSION=3.5
- HG_VERSION=3.6
- HG_VERSION=3.7
- HG_VERSION=3.8
- HG_VERSION=3.9
- HG_VERSION=4.0
- HG_VERSION=4.0.1
- HG_VERSION=4.0.2
# command to run actual tests
# We also output the git and hg versions to make sure we are using
# the right ones.
# Also, switch the traceback format to 'short' to work around
# a bug in py.test <= 2.3.4.
script:
- git --version
- hg --version
- cd test
- make