Browse Source

Added travis CI integration

Abhinav Sarkar 6 years ago
parent
commit
61b50c7354
6 changed files with 17 additions and 5 deletions
  1. 10
    0
      .travis.yml
  2. 1
    1
      config.cfg.template
  3. 2
    0
      hask-irc-core/Setup.hs
  4. 2
    0
      hask-irc-handlers/Setup.hs
  5. 2
    0
      hask-irc-runner/Setup.hs
  6. 0
    4
      init_sanbox.sh

+ 10
- 0
.travis.yml View File

@@ -0,0 +1,10 @@
1
+language: haskell
2
+ghc: 7.8
3
+before_install:
4
+  - ./init-sandbox.sh
5
+  - "cd hask-irc-runner"
6
+notifications:
7
+  email: true
8
+  irc:
9
+    - "irc.immortal-anime.net#animestan"
10
+

+ 1
- 1
config.cfg.template View File

@@ -3,7 +3,7 @@ port = 6667
3 3
 channel = "#testtesttest"
4 4
 nick = "haskman"
5 5
 timeout = 130
6
-msghandlers = ["greeter", "welcomer", "songsearch", "auth", "nicktracker"]
6
+msghandlers = ["greeter", "welcomer", "messagelogger", "songsearch", "auth", "nicktracker"]
7 7
 
8 8
 songsearch {
9 9
   tinysong_apikey = "xxxyyyzzz"

+ 2
- 0
hask-irc-core/Setup.hs View File

@@ -0,0 +1,2 @@
1
+import Distribution.Simple
2
+main = defaultMain

+ 2
- 0
hask-irc-handlers/Setup.hs View File

@@ -0,0 +1,2 @@
1
+import Distribution.Simple
2
+main = defaultMain

+ 2
- 0
hask-irc-runner/Setup.hs View File

@@ -0,0 +1,2 @@
1
+import Distribution.Simple
2
+main = defaultMain

+ 0
- 4
init_sanbox.sh View File

@@ -16,7 +16,3 @@ cabal sandbox init --sandbox=../.cabal-sandbox
16 16
 cabal sandbox add-source ../hask-irc-core/
17 17
 cabal sandbox add-source ../hask-irc-handlers/
18 18
 cd ..
19
-
20
-cd hask-irc-core
21
-cabal install -j3 --only-dependencies
22
-cd ..

Loading…
Cancel
Save