summaryrefslogtreecommitdiff
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
parentb253308eeedc9c4ea7a9db579e2daa2117a46356 (diff)
downloadspack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.tar.gz
spack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.tar.bz2
spack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.tar.xz
spack-45ffcdee7b86c483ba2e42e86feed5771cd3f8e5.zip
Add very basic Travis CI support.
-rw-r--r--.travis.yml23
-rw-r--r--README.md2
2 files changed, 25 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
diff --git a/README.md b/README.md
index 1df1db8bd6..9830e31356 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
![image](share/spack/logo/spack-logo-text-64.png "Spack")
============
+[![Build Status](https://travis-ci.org/scalability-llnl/spack.png?branch=develop)](https://travis-ci.org/scalability-llnl/spack)
+
Spack is a package management tool designed to support multiple
versions and configurations of software on a wide variety of platforms
and environments. It was designed for large supercomputing centers,