We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4c4df commit 31c0493Copy full SHA for 31c0493
.travis.yml
@@ -9,4 +9,4 @@ script:
9
- chmod +x ArrayFire-v3.6.4_Linux_x86_64.sh
10
- ./ArrayFire-v3.6.4_Linux_x86_64.sh --include-subdir --prefix=/opt
11
- ls -lah /opt/arrayfire/
12
- - nix-shell --run test
+ - nix-shell --run travis
shell.nix
@@ -20,6 +20,13 @@ in
20
cabal v1-configure --enable-tests && \
21
cabal v1-build test && dist/build/test/test
22
}
23
+ function travis () {
24
+ cabal v1-configure --enable-tests \
25
+ -f+disable-default-paths \
26
+ --extra-lib-dirs=/opt/arrayfire/lib64 \
27
+ --extra-include-dirs=/opt/arrayfire/include && \
28
+ cabal v1-build test && dist/build/test/test
29
+ }
30
function doctest-runner () {
31
${pkgs.ag}/bin/ag -l | \
32
${pkgs.entr}/bin/entr sh -c \
0 commit comments