Unifying the stochastic and the adversarial Bandits with Knapsack