Skip to content

Commit 25a27fb

Browse files
committed
only build on ghc 8.8.1 for testing travis out, move arrayfire install to install stanza
1 parent 025b505 commit 25a27fb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,13 @@ matrix:
2929
include:
3030
- compiler: ghc-8.8.1
3131
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.8.1","cabal-install-3.0"]}}
32-
- compiler: ghc-8.6.5
33-
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.6.5","cabal-install-2.4"]}}
34-
- compiler: ghc-8.4.4
35-
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.4.4","cabal-install-2.4"]}}
36-
- compiler: ghc-8.2.2
37-
addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.2.2","cabal-install-2.4"]}}
32+
#- compiler: ghc-8.6.5
33+
# addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.6.5","cabal-install-2.4"]}}
34+
#- compiler: ghc-8.4.4
35+
# addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.4.4","cabal-install-2.4"]}}
36+
#- compiler: ghc-8.2.2
37+
# addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.2.2","cabal-install-2.4"]}}
3838
before_install:
39-
- echo 'Downloading arrayfire-3.6.4'
40-
- curl -O http://arrayfire.s3.amazonaws.com/3.6.4/ArrayFire-v3.6.4_Linux_x86_64.sh
41-
- chmod +x ArrayFire-v3.6.4_Linux_x86_64.sh
42-
- ./ArrayFire-v3.6.4_Linux_x86_64.sh --include-subdir --prefix=/opt
43-
- ls -lah /opt/arrayfire/
4439
- HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
4540
- WITHCOMPILER="-w $HC"
4641
- HCPKG="$HC-pkg"
@@ -72,6 +67,11 @@ before_install:
7267
}
7368
- echo text | color_cabal_output
7469
install:
70+
- echo "Downloading ArrayFire-3.6.4"
71+
- curl -O http://arrayfire.s3.amazonaws.com/3.6.4/ArrayFire-v3.6.4_Linux_x86_64.sh
72+
- chmod +x ArrayFire-v3.6.4_Linux_x86_64.sh
73+
- ./ArrayFire-v3.6.4_Linux_x86_64.sh --include-subdir --prefix=/opt
74+
- ls -lah /opt/arrayfire/
7575
- ${CABAL} --version
7676
- echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
7777
- TEST=--enable-tests

0 commit comments

Comments
 (0)