Skip to content

Commit

Permalink
update travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
songkuangshi committed Mar 22, 2019
1 parent d4595c8 commit 6d5b491
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
os: osx
os:
- osx
- linux
language: cpp

script:
- make
- make master
- make ps
- make worker
- make ring_master
- make ring_worker
- build.sh 3 3 127.0.0.1:17832
- build_ring.sh 3 127.0.0.1:17832

notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ring_master : $(DISTRIBUT)
ring_worker : $(DISTRIBUT)

$(BIN) :
$(CXX) $(CFLAGS) -o $@ $(filter %.cpp %.o %.c, $^) -Xlinker $(ZMQ_LIB) $(LDFLAGS)
$(CXX) $(CFLAGS) -o $@ $(filter %.cpp %.o %.c, $^) -Xlinker $(LDFLAGS)

master :
$(CXX) $(CFLAGS) -o LightCTR_BIN_Master $(filter %.cpp %.o %.c, $^) -D MASTER -Xlinker $(ZMQ_LIB) $(LDFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ wait
echo
echo
echo "[Build Success]"
echo "Please copy different BIN file to corresponding machine, DON'T forget expert LightCTR_PS_NUM, LightCTR_WORKER_NUM and LightCTR_MASTER_ADDR, run Master first"
echo "Please copy different BIN file to corresponding machine, DON'T forget export LightCTR_PS_NUM, LightCTR_WORKER_NUM and LightCTR_MASTER_ADDR, run Master first"
echo
echo "[or] Press any key to run clunster on standalone mode"
read -n 1
Expand Down
2 changes: 1 addition & 1 deletion build_ring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ wait
echo
echo
echo "[Build Success]"
echo "Please copy different BIN file to corresponding machine, DON'T forget expert LightCTR_WORKER_NUM and LightCTR_MASTER_ADDR, run Master first"
echo "Please copy different BIN file to corresponding machine, DON'T forget export LightCTR_WORKER_NUM and LightCTR_MASTER_ADDR, run Master first"
echo
echo "[or] Press any key to run clunster on standalone mode"
read -n 1
Expand Down

0 comments on commit 6d5b491

Please sign in to comment.