aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-02-18 02:39:55 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-02-18 02:39:55 +0300
commit64d81a2b36a705bbfe5be49e45695b059fa6a16a (patch)
tree589662162c57ef5bc14e709da8e62212168a3709 /.travis.yml
parent2d196fa12ffcd579ea310ad676aac9af51e360b2 (diff)
parent7efc6e41873e6c329f3b66e43ec853a85f0ad5e9 (diff)
Merge pull request #212 from dritter/unit_testing
Adding Unit Tests, supported by Travis-CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..71aff690
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+sudo: true
+dist: trusty
+language: sh
+addons:
+ apt:
+ packages:
+ - build-essential
+
+before_script:
+ # Show the git version being used to test.
+ - "git --version"
+ # Show the zsh version being used to test.
+ - "zsh --version"
+
+install:
+ - "sudo apt-get update -qq"
+ - "sudo apt-get install zsh"
+ - "sudo chsh -s $(which zsh)"
+
+script:
+ - test/powerlevel9k.spec
+ - test/functions/utilities.spec
+ - test/functions/colors.spec
+ - test/segments/dir.spec
+ - test/segments/rust_version.spec
+ - test/segments/go_version.spec
+