diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4ae24da --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +language: c +sudo: false +compiler: + - gcc +os: + - linux + #- osx +#env: +#install: +#- if [ "$CC" = "gcc" ]; then export CC="gcc-4.9"; fi +addons: + apt: + sources: + - ubuntu-toolchain-r-test + #packages: + #- gcc-4.9 + #- clang +script: + - cd ref/ + - make + - ./PathFinder.x -x ../data/scaleData/1kx750.adj_list + - ./PathFinder.x -x ../data/scaleData/2kx750.adj_list + - ./PathFinder.x -x ../data/scaleData/4kx750.adj_list + - ./PathFinder.x -x ../data/scaleData/6kx750.adj_list + - ./PathFinder.x -x ../data/scaleData/8kx750.adj_list + - ./PathFinder.x -x ../data/scaleData/10kx750.adj_list +#after_failure: +# - echo "Sad panda" +notifications: + email: + recipients: + - jeff.science@gmail.com + on_success: [change] + on_failure: [always] diff --git a/ref/Makefile b/ref/Makefile index 4f17e69..80c6317 100644 --- a/ref/Makefile +++ b/ref/Makefile @@ -32,23 +32,15 @@ #----------------------------------------------------------------------- -#CC=cc -CC=gcc +CC := cc +CFLAGS := -O2 -fopenmp +LIBS := -lm -CFLAGS = $(OPT) -#CFLAGS += -openmp -CFLAGS += -fopenmp #CFLAGS += -D_USE_PAT_API LD = $(CC) LDFLAGS = $(CFLAGS) -# Optimization -OPT = -O3 -OPT = -g - -LIBS = -lgomp -lm - include make_targets # End makefile