summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml17
-rw-r--r--CMakeLists.txt17
-rw-r--r--testing/muh parser.php4
3 files changed, 38 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..8918f02d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
1language: c
2compiler:
3 - gcc
4
5script:
6 - cmake CMakeLists.txt
7 - make -j3
8
9notifications:
10 email: false
11
12 irc:
13 channels:
14 - "chat.freenode.net#InsertProjectNameHere"
15 on_success: always
16 on_failure: always
17
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..26f56e4c
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,17 @@
1cmake_minimum_required(VERSION 2.6.0)
2project(TOX)
3
4set(core_sources
5 core/DHT.c)
6
7set(test_sources
8 testing/DHT_test.c)
9
10add_executable(TOX-app
11 ${core_sources}
12 ${test_sources})
13
14
15if(WIN32)
16 target_link_libraries(TOX-app ws2_32)
17endif(WIN32) \ No newline at end of file
diff --git a/testing/muh parser.php b/testing/muh parser.php
new file mode 100644
index 00000000..9817a807
--- /dev/null
+++ b/testing/muh parser.php
@@ -0,0 +1,4 @@
1<?php
2$string = file_get_contents("test.json");
3$json_a=json_decode($string,true);
4?>