diff options
author | Jarrod Millman <jarrod.millman@gmail.com> | 2017-08-16 15:28:42 -0700 |
---|---|---|
committer | Jarrod Millman <jarrod.millman@gmail.com> | 2017-08-17 00:40:03 -0700 |
commit | 0b4edf66a9d81417e03d47f810ebde9ccfba8d2d (patch) | |
tree | 35ad67d4ba77ba21ae253b7996d239b7738350f2 /tools | |
parent | 4a5cee51ea9cab6abfaa2c9f563a2b0b37d531d7 (diff) | |
download | networkx-0b4edf66a9d81417e03d47f810ebde9ccfba8d2d.tar.gz |
Add nx_agraph tests
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/travis/linux_install.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/travis/linux_install.sh b/tools/travis/linux_install.sh index 84739aeb..ca08f017 100755 --- a/tools/travis/linux_install.sh +++ b/tools/travis/linux_install.sh @@ -11,6 +11,22 @@ if [[ "${OPTIONAL_DEPS}" == pip ]]; then export CPLUS_INCLUDE_PATH=/usr/include/gdal export C_INCLUDE_PATH=/usr/include/gdal + # needed for view_graphviz and default_opener + DIR=~/.local/share/applications + mkdir -p $DIR + FILE=$DIR/png.desktop + cat <<EOF >$FILE +[Desktop Entry] +Name=png +MimeType=image/png; +Exec=/usr/bin/file +Type=Application +Terminal=true +NoDisplay=true +EOF + + xdg-mime default png.desktop image/png + fi set +ex |