diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..481ad45 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +# generic packages +before_install: + - sudo apt-get update + - sudo apt-get install -y git-core expect + - sudo apt-get install -y python-software-properties software-properties-common + +# install latest Tmux 1.9a +install: + - sudo add-apt-repository -y ppa:pi-rho/dev + - sudo apt-get update + - sudo apt-get install -y tmux=1.9a-1~ppa1~p + +script: ./tests/run-tests-within-vm diff --git a/CHANGELOG.md b/CHANGELOG.md index 4933d36..fe1584d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### master - refactor tests so they can be used on travis +- add travis.yml, add travis badge to the readme ### v1.1.0, 2014-11-19 - if the plugin is not downloaded do not source it diff --git a/README.md b/README.md index 6931a06..40434cf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Tmux Plugin Manager +![Build Status](https://travis-ci.org/tmux-plugins/tpm.png?branch=master) + Installs and loads TMUX plugins. ### Installation @@ -74,10 +76,12 @@ More advanced features, regular users probably do not need this: ### Tests -Requirements: [vagrant](https://www.vagrantup.com/) +Tests run on [travis](https://travis-ci.org/tmux-plugins/tpm). -To run a test suite: +When run locally, [vagrant](https://www.vagrantup.com/) is required. +Run tests with: + # within project directory $ ./run-tests ### License