Remove version commands from before_script
This commit is contained in:
		
							parent
							
								
									72dbc4f3ae
								
							
						
					
					
						commit
						565f183524
					
				@ -5,13 +5,7 @@ cache:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
  - echo Current working directory is $(pwd)
 | 
					  - echo Current working directory is $(pwd)
 | 
				
			||||||
  - echo Current user is $(whoami)
 | 
					 | 
				
			||||||
  - qmake --version
 | 
					 | 
				
			||||||
  - gcc --version
 | 
					 | 
				
			||||||
  - sudo apt-get install --no-install-recommends -y upx zip unzip
 | 
					  - sudo apt-get install --no-install-recommends -y upx zip unzip
 | 
				
			||||||
  - cd scripts
 | 
					 | 
				
			||||||
  - ./configure_ubuntu.sh
 | 
					 | 
				
			||||||
  - cd ..
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
build linux x86_64:
 | 
					build linux x86_64:
 | 
				
			||||||
  image: rabits/qt:5.9-desktop
 | 
					  image: rabits/qt:5.9-desktop
 | 
				
			||||||
@ -20,6 +14,13 @@ build linux x86_64:
 | 
				
			|||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
    - linux
 | 
					    - linux
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
 | 
					    - qmake --version
 | 
				
			||||||
 | 
					    - gcc --version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - cd scripts
 | 
				
			||||||
 | 
					    - ./configure_ubuntu.sh
 | 
				
			||||||
 | 
					    - cd ..
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - qmake
 | 
					    - qmake
 | 
				
			||||||
    - make -j4
 | 
					    - make -j4
 | 
				
			||||||
    - upx --lzma -9 --force bin/Attorney_Online
 | 
					    - upx --lzma -9 --force bin/Attorney_Online
 | 
				
			||||||
@ -34,8 +35,18 @@ build windows i686:
 | 
				
			|||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
    - linux
 | 
					    - linux
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
 | 
					    # Extract BASS
 | 
				
			||||||
 | 
					    - mkdir bass
 | 
				
			||||||
 | 
					    - curl http://www.un4seen.com/files/bass24.zip -o bass.zip
 | 
				
			||||||
 | 
					    - unzip bass.zip
 | 
				
			||||||
 | 
					    - cp bass.dll ../../lib
 | 
				
			||||||
 | 
					    - cd ..
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Build
 | 
				
			||||||
    - qmake
 | 
					    - qmake
 | 
				
			||||||
    - make -j4
 | 
					    - make -j4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Post-processing
 | 
				
			||||||
    - upx --lzma -9 --force bin/Attorney_Online.exe
 | 
					    - upx --lzma -9 --force bin/Attorney_Online.exe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Base folder
 | 
					# Base folder
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user