Skip to content
Permalink
Browse files

Bug fixes in Travis CI

libint now again properly found from cache
  • Loading branch information...
mfherbst committed Oct 7, 2017
1 parent dcbad05 commit 5ae1519112f3411cec1d32b4b0edea693f46f058
Showing with 9 additions and 11 deletions.
  1. +2 −0 .travis.yml
  2. +7 −11 .travis/update_cached_libint.sh
@@ -58,6 +58,7 @@ addons:
- ubuntu-toolchain-r-test # libstdc++-4.9-dev (gcc 4.8's libstdc++ is buggy)
- llvm-toolchain-trusty-4.0 # clang-4.0
packages:
- python3-pip
- ninja-build
#
# Packages for lazyten
@@ -71,6 +72,7 @@ addons:
#
# Packages for python interface
- swig
- python3-numpy

matrix:
include:
@@ -1,29 +1,25 @@
#!/bin/sh
## ---------------------------------------------------------------------
##
## Copyright (C) 2017 by the molsturm authors
## Copyright (C) 2017 by the gint authors
##
## This file is part of molsturm.
## This file is part of gint.
##
## molsturm is free software: you can redistribute it and/or modify
## gint is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## molsturm is distributed in the hope that it will be useful,
## gint is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with molsturm. If not, see <http://www.gnu.org/licenses/>.
## along with gint. If not, see <http://www.gnu.org/licenses/>.
##
## ---------------------------------------------------------------------

## DO NOT EDIT
## This file is automatically generated from a file in the repository "gint".
## Edit the original and call the script "update_from_sister_repos.sh" instead.

# Replaces the libint cache folder by the version build
# in this built.

@@ -37,12 +33,12 @@ SUBDIRS="include lib share"
# ----------------------------------------------------------------------

# Go to the top build directory
cd ${TRAVIS_BUILD_DIR}
cd "${TRAVIS_BUILD_DIR}"

# Check all folders exist
[ ! -d "$LIBINT_INSTALL_DIR" ] && exit 0
for subdir in $SUBDIRS; do
[ ! -d "$subdir" ] && exit 0
[ ! -d "$LIBINT_INSTALL_DIR/$subdir" ] && exit 0
done

echo "Updating libint cache at $LIBINT_CACHE_DIR"

0 comments on commit 5ae1519

Please sign in to comment.
You can’t perform that action at this time.