summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-29 21:40:23 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-29 22:02:13 -0800
commit45ffcdee7b86c483ba2e42e86feed5771cd3f8e5 (patch)
tree9eafae51948728ec654ebf4831fa5963ee17770d /.travis.yml
parentb253308eeedc9c4ea7a9db579e2daa2117a46356 (diff)
downloadspack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.tar.gz
spack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.tar.bz2
spack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.tar.xz
spack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.zip
Add very basic Travis CI support.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..c39dbf0c63
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+language: python
+python:
+ - "2.6"
+ - "2.7"
+
+# No need to install any deps.
+install: true
+
+before_install:
+ # Need this for the git tests to succeed.
+ - git config --global user.email "spack@example.com"
+ - git config --global user.name "Test User"
+
+script:
+ - . share/spack/setup-env.sh
+ - spack test
+
+notifications:
+ email:
+ recipients:
+ - tgamblin@llnl.gov
+ on_success: change
+ on_failure: always