From 5542ce0e9655664399132cc816b9908f825bc0d8 Mon Sep 17 00:00:00 2001 From: Christian Puhrsch Date: Mon, 18 Dec 2017 19:59:03 -0800 Subject: [PATCH] revert circleci to last working commit 4697db0 Summary: See title. Reviewed By: JoelMarcey Differential Revision: D6599907 fbshipit-source-id: 5499f2e0c0a98f1194a49c1a8244d97f00ffc2c2 --- .circleci/cmake_test.sh | 1 + .circleci/config.yml | 105 ++++++++++------------------------------ 2 files changed, 26 insertions(+), 80 deletions(-) diff --git a/.circleci/cmake_test.sh b/.circleci/cmake_test.sh index 30bf40b51..023d4d2fa 100755 --- a/.circleci/cmake_test.sh +++ b/.circleci/cmake_test.sh @@ -11,6 +11,7 @@ RESULTDIR=result DATADIR=data +sudo apt-get install cmake ./.circleci/pull_data.sh mkdir buildc && cd buildc && cmake .. && make && cd .. cp buildc/fasttext . diff --git a/.circleci/config.yml b/.circleci/config.yml index cc2b6ffbc..622be1943 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ version: 2 jobs: - "py361-python": + "py361": docker: - image: circleci/python:3.6.1 working_directory: ~/repo @@ -31,10 +31,11 @@ jobs: - checkout - run: command: | - . .circleci/setup_circleimg.sh - . .circleci/python_test.sh + sudo pip install pybind11 + sudo python setup.py install + . .circleci/cmake_test.sh - "py353-python": + "py353": docker: - image: circleci/python:3.5.3 working_directory: ~/repo @@ -42,10 +43,11 @@ jobs: - checkout - run: command: | - . .circleci/setup_circleimg.sh - . .circleci/python_test.sh + sudo pip install pybind11 + sudo python setup.py install + . .circleci/cmake_test.sh - "py346-python": + "py346": docker: - image: circleci/python:3.4.6 working_directory: ~/repo @@ -53,10 +55,11 @@ jobs: - checkout - run: command: | - . .circleci/setup_circleimg.sh - . .circleci/python_test.sh + sudo pip install pybind11 + sudo python setup.py install + . .circleci/cmake_test.sh - "py336-python": + "py336": docker: - image: circleci/python:3.3.6 working_directory: ~/repo @@ -64,10 +67,11 @@ jobs: - checkout - run: command: | - . .circleci/setup_circleimg.sh - . .circleci/python_test.sh + sudo pip install pybind11 + sudo python setup.py install + . .circleci/cmake_test.sh - "py2713-python": + "py2713": docker: - image: circleci/python:2.7.13 working_directory: ~/repo @@ -75,8 +79,9 @@ jobs: - checkout - run: command: | - . .circleci/setup_circleimg.sh - . .circleci/python_test.sh + sudo pip install pybind11 + sudo python setup.py install + . .circleci/cmake_test.sh "gcc5": docker: @@ -118,61 +123,6 @@ jobs: command: | . .circleci/gcc_test.sh - "debian-wheezy-gcc": - docker: - - image: debian:wheezy - working_directory: ~/repo - steps: - - checkout - - run: - command: | - . .circleci/setup_debian.sh - . .circleci/gcc_test.sh - - "debian-wheezy-cmake": - docker: - - image: debian:wheezy - working_directory: ~/repo - steps: - - checkout - - run: - command: | - . .circleci/setup_debian.sh - . .circleci/cmake_test.sh - - "debian-jessie-gcc": - docker: - - image: debian:jessie - working_directory: ~/repo - steps: - - checkout - - run: - command: | - . .circleci/setup_debian.sh - . .circleci/gcc_test.sh - - "debian-jessie-cmake": - docker: - - image: debian:jessie - working_directory: ~/repo - steps: - - checkout - - run: - command: | - . .circleci/setup_debian.sh - . .circleci/cmake_test.sh - - "debian-jessie-python": - docker: - - image: debian:jessie - working_directory: ~/repo - steps: - - checkout - - run: - command: | - . .circleci/setup_debian.sh - . .circleci/python_test.sh - "website-build": docker: - image: node:latest @@ -190,18 +140,13 @@ workflows: version: 2 build: jobs: - - "py361-python" - - "py353-python" - - "py346-python" - - "py336-python" - - "py2713-python" + - "py361" + - "py353" + - "py346" + - "py336" + - "py2713" - "gcc5" - "gcc6" - "gcc7" - "gcclatest" - - "debian-wheezy-gcc" - - "debian-wheezy-cmake" - - "debian-jessie-gcc" - - "debian-jessie-cmake" - - "debian-jessie-python" - "website-build"