try to run ws test on linux + macOS on travis
This commit is contained in:
		@@ -7,14 +7,14 @@ matrix:
 | 
				
			|||||||
      compiler: clang
 | 
					      compiler: clang
 | 
				
			||||||
      script:
 | 
					      script:
 | 
				
			||||||
        - python test/run.py
 | 
					        - python test/run.py
 | 
				
			||||||
        - make ws
 | 
					        - make ws_test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Linux
 | 
					    # Linux
 | 
				
			||||||
    - os: linux
 | 
					    - os: linux
 | 
				
			||||||
      dist: xenial
 | 
					      dist: xenial
 | 
				
			||||||
      script: 
 | 
					      script: 
 | 
				
			||||||
        - python test/run.py
 | 
					        - python test/run.py
 | 
				
			||||||
        - make ws
 | 
					        - make ws_test
 | 
				
			||||||
      env:
 | 
					      env:
 | 
				
			||||||
        - CC=gcc
 | 
					        - CC=gcc
 | 
				
			||||||
        - CXX=g++
 | 
					        - CXX=g++
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								makefile
									
									
									
									
									
								
							@@ -52,7 +52,7 @@ test:
 | 
				
			|||||||
	python2.7 test/run.py
 | 
						python2.7 test/run.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ws_test: all
 | 
					ws_test: all
 | 
				
			||||||
	(cd ws ; bash test_ws.sh)
 | 
						(cd ws ; env DEBUG=1 PATH=../ws/build:$$PATH bash test_ws.sh)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# For the fork that is configured with appveyor
 | 
					# For the fork that is configured with appveyor
 | 
				
			||||||
rebase_upstream:
 | 
					rebase_upstream:
 | 
				
			||||||
@@ -67,3 +67,4 @@ install_cmake_for_linux:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.PHONY: test
 | 
					.PHONY: test
 | 
				
			||||||
.PHONY: build
 | 
					.PHONY: build
 | 
				
			||||||
 | 
					.PHONY: ws
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -61,4 +61,4 @@ sleep 2
 | 
				
			|||||||
kill `cat /tmp/ws_test/pidfile.transfer`
 | 
					kill `cat /tmp/ws_test/pidfile.transfer`
 | 
				
			||||||
kill `cat /tmp/ws_test/pidfile.receive`
 | 
					kill `cat /tmp/ws_test/pidfile.receive`
 | 
				
			||||||
kill `cat /tmp/ws_test/pidfile.send`
 | 
					kill `cat /tmp/ws_test/pidfile.send`
 | 
				
			||||||
 | 
					exit 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user