Repository navigation
Expand file tree
/
Copy path.travis.yml
More file actions
72 lines (69 loc) · 1.85 KB
/
Copy path.travis.yml
File metadata and controls
72 lines (69 loc) · 1.85 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
# While python3.7 is not supported by default dist...
matrix:
include:
- sudo: required
dist: xenial
python: 3.7
env: EVM_EMACS=emacs-24.4-travis
- sudo: required
dist: xenial
python: 3.7
env: EVM_EMACS=emacs-24.5-travis
- sudo: required
dist: xenial
python: 3.7
env: EVM_EMACS=emacs-25.1-travis
- sudo: required
dist: xenial
python: 3.7
env: EVM_EMACS=emacs-25.2-travis
- sudo: required
dist: xenial
python: 3.7
env: EVM_EMACS=emacs-25.3-travis
# emacs 26.1 doesn't seem to start on xenial
# - sudo: required
# dist: xenial
# python: 3.7
# env: EVM_EMACS=emacs-26.1-travis
env:
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-26.1-travis
before_install:
# - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh
- source ./travis-evm-cask.sh
- evm install $EVM_EMACS --use --skip
- cask --verbose # verbose only needed because of cask bug
install:
- pip install jedi
- if [[ "$TRAVIS_PYTHON_VERSION" == 2.6 ]] ; then
pip install unittest2 ;
fi
- if [[ "$TRAVIS_PYTHON_VERSION" == 2.* ]] ; then
pip install rope ;
fi
- if [[ "$TRAVIS_PYTHON_VERSION" == 3.* ]] ; then
pip install rope_py3k ;
fi
- pip install autopep8
- pip install yapf
- if [[ "$TRAVIS_PYTHON_VERSION" > 3.6 || "$TRAVIS_PYTHON_VERSION" == 3.6 ]] ; then
pip install black ;
fi
- pip install coveralls
script:
- nosetests
- PYTHONPATH="`pwd`" cask exec ert-runner
after_success:
- coverage run -m nose.__main__
- coveralls