Skip to content

Instantly share code, notes, and snippets.

@desyncr
Created February 7, 2017 18:19
Show Gist options
  • Save desyncr/5eccf82398a4ef1aaa0e2021247e80f9 to your computer and use it in GitHub Desktop.
Save desyncr/5eccf82398a4ef1aaa0e2021247e80f9 to your computer and use it in GitHub Desktop.
diff --git a/.travis.yml b/.travis.yml
index 2947009..3f00fa0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,17 @@
language: c
-os:
- - linux
- - osx
+matrix:
+ include:
+ - os: linux
+ language: c
+ - os: osx
+ language: c
+ - os: linux
+ language: c
+ env: VALGRIND_PROFILING=true
+ - os: osx
+ language: c
+ env: VALGRIND_PROFILING=true
compiler:
- clang
diff --git a/tests/setup.sh b/tests/setup.sh
index c896fdd..818e45e 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -20,3 +20,6 @@ echo "export PROMPT='> '" > example.zsh-theme
git add .
git commit -m 'initial commit'
+if [[ $VALGRIND_PROFILING ]]; then
+ alias zpm="$PWD/tests/zpm_memory.sh "
+fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment