Pārlūkot izejas kodu

Fixes travis config.

- Removes ghc 7.6 from build targets.
Abhinav Sarkar 5 gadus atpakaļ
vecāks
revīzija
a459c23740
1 mainītis faili ar 7 papildinājumiem un 11 dzēšanām
  1. 7
    11
      .travis.yml

+ 7
- 11
.travis.yml Parādīt failu

@@ -1,14 +1,8 @@
1 1
 language: haskell
2 2
 
3 3
 env:
4
-  - CABALVER=1.18 GHCVER=7.6.3
5 4
   - CABALVER=1.18 GHCVER=7.8.4
6 5
   - CABALVER=1.22 GHCVER=7.10.2
7
-  - CABALVER=head GHCVER=head
8
-
9
-matrix:
10
-  allow_failures:
11
-    - env: GHCVER=head
12 6
 
13 7
 before_install:
14 8
   - |
@@ -49,11 +43,12 @@ script:
49 43
   - export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
50 44
     cd dist/;
51 45
     if [ -f "$SRC_TGZ" ]; then
52
-       $CABAL install --force-reinstalls "$SRC_TGZ";
46
+       $CABAL install "$SRC_TGZ";
53 47
     else
54 48
        echo "expected '$SRC_TGZ' not found";
55 49
        exit 1;
56
-    fi
50
+    fi;
51
+    cd ..;
57 52
 
58 53
   # tests that a source-distribution can be generated
59 54
   - cd ../hask-irc-handlers;
@@ -63,11 +58,12 @@ script:
63 58
   - export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
64 59
     cd dist/;
65 60
     if [ -f "$SRC_TGZ" ]; then
66
-       $CABAL install --force-reinstalls "$SRC_TGZ";
61
+       $CABAL install "$SRC_TGZ";
67 62
     else
68 63
        echo "expected '$SRC_TGZ' not found";
69 64
        exit 1;
70
-    fi
65
+    fi;
66
+    cd ..;
71 67
 
72 68
   # tests that a source-distribution can be generated
73 69
   - cd ../hask-irc-runner;
@@ -77,7 +73,7 @@ script:
77 73
   - export SRC_TGZ=$($CABAL info . | awk '{print $2 ".tar.gz";exit}') ;
78 74
     cd dist/;
79 75
     if [ -f "$SRC_TGZ" ]; then
80
-       $CABAL install --force-reinstalls "$SRC_TGZ";
76
+       $CABAL install "$SRC_TGZ";
81 77
     else
82 78
        echo "expected '$SRC_TGZ' not found";
83 79
        exit 1;

Notiek ielāde…
Atcelt
Saglabāt