Skip to content

Commit 0c54513

Browse files
committed
Try PGF90 compiler on Travis
Can we build and run our tests with PGI's community compiler? Using: https://github.com/nemequ/pgi-travis
1 parent 3b54c2c commit 0c54513

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ env:
3434
BUILD_SCRIPT="FC='ifort -notraceback' ./configure &&
3535
make -j 2 && make -j 2 check && ./testcheck.sh" COMPILER="ifort"
3636
37+
# Using configure and make and pgi run the tests.
38+
- >
39+
BUILD_SCRIPT="FC='pgf90' ./configure &&
40+
make -j 2 && make -j 2 check && ./testcheck.sh" COMPILER="pgi"
3741
3842
install:
3943
- |
@@ -51,6 +55,11 @@ install:
5155
chmod u+x ./install-icc.sh
5256
./install-icc.sh --components ifort
5357
source ~/.bashrc
58+
elif [[ "$COMPILER" == 'pgi' ]]; then
59+
wget -q 'https://raw.githubusercontent.com/nemequ/pgi-travis/master/install-pgi.sh'
60+
chmod u+x ./install-pgi.sh
61+
./install-pgi.sh
62+
source ~/.bashrc
5463
fi
5564
5665
script:

0 commit comments

Comments
 (0)