Remove travis and appveyor configuration files (#1338)

Also update build badge to point to Azure instead.
This commit is contained in:
Thad House
2018-09-25 21:37:04 -07:00
committed by Peter Johnson
parent 32ec07ee01
commit 5fad2b1056
3 changed files with 1 additions and 85 deletions

View File

@@ -1,43 +0,0 @@
sudo: true
dist: trusty
language: java
addons:
apt:
sources:
- deadsnakes
- ubuntu-toolchain-r-test
packages:
- g++-6
- python3.5-dev
- cmake
before_install:
- sudo sh -c 'echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main" > /etc/apt/sources.list.d/llvm.list'
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
- sudo add-apt-repository ppa:lkoppel/opencv -y
- sudo apt-get update -q || true
- sudo apt-get install clang-format-5.0 libopencv-dev -y
install:
- wget https://bootstrap.pypa.io/get-pip.py
- sudo python3.5 get-pip.py
- python3.5 -m pip install --user wpiformat
- mkdir -p $HOME/latest-gcc-symlinks # see travis-ci/travis-ci#3668
- ln -s /usr/bin/g++-6 $HOME/latest-gcc-symlinks/g++
- ln -s /usr/bin/gcc-6 $HOME/latest-gcc-symlinks/gcc
- export PATH=$HOME/latest-gcc-symlinks:$PATH
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script:
- python3.5 -m wpiformat -y 2018 -clang 5.0
- git --no-pager diff --exit-code HEAD # Ensure formatter made no changes
- ./gradlew --no-daemon --console=plain -PskipAthena :hal:halSharedLibrary :hal:halJNISharedLibrary :wpilibc:wpilibcSharedLibrary :wpilibj:jar
- mkdir cmake-build && cd cmake-build && env CXX=g++-6 CC=gcc-6 cmake -DWITHOUT_ALLWPILIB=OFF .. && make

View File

@@ -1,6 +1,6 @@
# WPILib Project
[![Build Status](https://travis-ci.org/wpilibsuite/allwpilib.svg?branch=master)](https://travis-ci.org/wpilibsuite/allwpilib)
[![Build Status](https://dev.azure.com/wpilib/wpilib/_apis/build/status/wpilibsuite.allwpilib)](https://dev.azure.com/wpilib/wpilib/_build/latest?definitionId=1)
Welcome to the WPILib project. This repository contains the HAL, WPILibJ, and WPILibC projects. These are the core libraries for creating robot programs for the roboRIO.

View File

@@ -1,41 +0,0 @@
version: "{branch}-{build}"
image: Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
skip_branch_with_pr: true
branches:
only:
- master
platform:
- x64
shallow_clone: true
init:
- ps: >-
echo $env:PLATFORM
if ($env:PLATFORM -eq "x86") {
$Env:JAVA_HOME = "C:\Program Files (x86)\Java\jdk1.8.0"
echo "32 Bit"
}
else {
$Env:JAVA_HOME = "C:\Program Files\Java\jdk1.8.0"
echo "64 bit"
}
install:
- ps: ./gradlew clean
cache: C:\Users\appveyor\.gradle
build_script:
- ps: >-
echo $env:JAVA_HOME
./gradlew build --continue
if ($lastexitcode -ne 0) {
$errorstore = $errorMessage
./gradlew --stop
throw ("Exec: " + $errorMessage)
}
./gradlew --stop
test: off