Skip to content

Commit cbe595a

Browse files
author
Thomas Weise
committed
next attemp for travis.ci
1 parent d314471 commit cbe595a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ script:
2222

2323
before_install:
2424
# make sure GCC is installed
25-
- currentDir=`pwd`
2625
- sudo apt-get -q -y autoclean
2726
- sudo apt-get -q -y -f update
2827
- sudo apt-get -q -y -f install
@@ -36,6 +35,7 @@ before_install:
3635
# Install MPICH
3736
# based on https://github.com/travis-ci/apt-package-whitelist/issues/406
3837
# with extensions to create mpicc via hard link in bin
38+
- currentDir=`pwd`
3939
- mpichVersion=3.2
4040
- wget --no-check-certificate -q http://www.mpich.org/static/downloads/$mpichVersion/mpich-$mpichVersion.tar.gz
4141
- tar -xzf mpich-$mpichVersion.tar.gz
@@ -46,7 +46,7 @@ before_install:
4646
- make install
4747
- chmod 777 "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh"
4848
- sudo ln "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh" /usr/bin/mpicc
49-
- cp $currentDir/mpich-$mpichVersion/src/include/*.* /usr/local/include
49+
- sudo cp $currentDir/mpich-$mpichVersion/src/include/*.* /usr/local/include
5050
- cd "$currentDir"
5151

5252
# prevent Maven from running

0 commit comments

Comments
 (0)