Added .travis.yml.
authorCotton Seed <cotton@alum.mit.edu>
Sun, 16 Aug 2015 21:15:07 +0000 (17:15 -0400)
committerCotton Seed <cotton@alum.mit.edu>
Mon, 17 Aug 2015 04:35:43 +0000 (00:35 -0400)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..9f0cc06
--- /dev/null
@@ -0,0 +1,34 @@
+sudo: false
+script: make && make test
+language: cpp
+addons:
+  apt:
+    sources:
+    - ubuntu-toolchain-r-test
+    packages:
+    - gperf
+    - build-essential
+    - clang
+    - bison
+    - flex
+    - libreadline-dev
+    - gawk
+    - tcl-dev
+    - libffi-dev
+    - git
+    - mercurial
+    - graphviz
+    - xdot
+    - pkg-config
+    - python
+    - g++-4.8
+before_install:
+  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
+  - git clone git://github.com/steveicarus/iverilog.git
+  - (cd iverilog && autoconf && ./configure --prefix=$HOME/iverilog && make && make install)
+  - export PATH=$PATH:$HOME/iverilog/bin
+compiler:
+#  - clang
+  - gcc
+os:
+  - linux