UltiSnips/.travis.yml

19 lines
590 B
YAML
Raw Normal View History

2015-02-14 14:38:17 +01:00
language: python
python:
- 2.7
- 3.4
2015-02-14 14:38:17 +01:00
before_script:
2015-02-14 15:02:24 +01:00
- sudo add-apt-repository ppa:kalakris/tmux -y
2015-02-14 15:07:41 +01:00
- sudo apt-get update -qq
2015-02-14 15:02:24 +01:00
- sudo apt-get install -qq -y tmux vim-gnome
2015-02-14 14:38:17 +01:00
- tmux new -d -s vim
2015-02-14 15:05:04 +01:00
- vim --version
# Display the python2 version in Vim.
- vim +'py import sys; open("/tmp/py_version", "w").write("%s" % sys.version)' +quit
- cat /tmp/py_version
# Display the python3 version in Vim.
- vim +'py3 import sys; open("/tmp/py3_version", "w").write("%s" % sys.version)' +quit
- cat /tmp/py3_version
2015-02-14 14:50:20 +01:00
script: ./test_all.py -v --interface tmux --session vim Simple