ci tweak / install redis
This commit is contained in:
		
							
								
								
									
										25
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								.travis.yml
									
									
									
									
									
								
							@@ -3,9 +3,6 @@ language: bash
 | 
				
			|||||||
# See https://github.com/amaiorano/vectrexy/blob/master/.travis.yml
 | 
					# See https://github.com/amaiorano/vectrexy/blob/master/.travis.yml
 | 
				
			||||||
# for ideas on installing vcpkg
 | 
					# for ideas on installing vcpkg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
services:
 | 
					 | 
				
			||||||
  - redis-server
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
matrix:
 | 
					matrix:
 | 
				
			||||||
  include:
 | 
					  include:
 | 
				
			||||||
    # macOS
 | 
					    # macOS
 | 
				
			||||||
@@ -14,21 +11,23 @@ matrix:
 | 
				
			|||||||
        - HOMEBREW_NO_AUTO_UPDATE=1
 | 
					        - HOMEBREW_NO_AUTO_UPDATE=1
 | 
				
			||||||
      compiler: clang
 | 
					      compiler: clang
 | 
				
			||||||
      script:
 | 
					      script:
 | 
				
			||||||
 | 
					        - brew install redis
 | 
				
			||||||
 | 
					        - brew services start redis
 | 
				
			||||||
        - brew install mbedtls
 | 
					        - brew install mbedtls
 | 
				
			||||||
        - python test/run.py
 | 
					        - python test/run.py
 | 
				
			||||||
        - make ws
 | 
					        - make ws
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Linux
 | 
					    # Linux
 | 
				
			||||||
    - os: linux
 | 
					    # - os: linux
 | 
				
			||||||
      dist: bionic
 | 
					    #   dist: bionic
 | 
				
			||||||
      before_install:
 | 
					    #   before_install:
 | 
				
			||||||
        - sudo apt-get install -y libmbedtls-dev
 | 
					    #     - sudo apt-get install -y libmbedtls-dev
 | 
				
			||||||
      script: 
 | 
					    #   script: 
 | 
				
			||||||
        - python test/run.py
 | 
					    #     - python test/run.py
 | 
				
			||||||
        - make ws
 | 
					    #     - make ws
 | 
				
			||||||
      env:
 | 
					    #   env:
 | 
				
			||||||
        - CC=gcc
 | 
					    #     - CC=gcc
 | 
				
			||||||
        - CXX=g++
 | 
					    #     - CXX=g++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Clang + Linux disabled for now
 | 
					    # Clang + Linux disabled for now
 | 
				
			||||||
    # - os: linux
 | 
					    # - os: linux
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user