From ef86c83799e34a51ab6d57d70eaf9461760239ef Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Mon, 12 Feb 2018 16:37:33 +0100 Subject: [PATCH] @cosmetic changed config again. --- .circleci/config.yml | 15 +++++++++++++++ circle.yml | 32 -------------------------------- 2 files changed, 15 insertions(+), 32 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 circle.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..1f4a82bd7 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,15 @@ +version: 2 + +jobs: + build: + docker: + - image: mono:4.8 + steps: + - checkout + - run: git submodule update --init --recursive + - run: + name: Build + command: ./build.sh + - run: + name: Testing + command: ./test.sh Linux Unit diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 7d1732474..000000000 --- a/circle.yml +++ /dev/null @@ -1,32 +0,0 @@ -checkout: - post: - - git submodule update --init --recursive - -dependencies: - cache_directories: - - packages - - "~/.apt-cache" - - "~/.nuget/packages" - pre: - # https://discuss.circleci.com/t/add-ability-to-cache-apt-get-programs/598/4 - - sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial - - mkdir -p packages - - override: - # http://www.mono-project.com/docs/getting-started/install/linux/ - - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF - - echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list - - sudo apt-get update - # http://www.mono-project.com/docs/getting-started/install/linux/#usage - - sudo apt-get install -y mono-complete - - sudo apt-get install -y referenceassemblies-pcl - - sudo apt-get install -y ca-certificates-mono - #- sudo apt-get install -y nunit-console - - #- cd packages; wget --no-check-certificate https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - #- mono packages/nuget.exe restore - -test: - override: - - ./build.sh - - ./test.sh Linux Unit